OSDN Git Service

Listen to ACTION_UID_REMOVED only. DO NOT MERGE.
authorFelipe Leme <felipeal@google.com>
Fri, 9 Sep 2016 00:26:00 +0000 (17:26 -0700)
committerFelipe Leme <felipeal@google.com>
Wed, 21 Sep 2016 01:11:26 +0000 (01:11 +0000)
commitf1da90fe04ec375ed28e57358f52e4fd75526fa2
treeafa43782d95211c447f76c82a950c08198eeb9fd
parent845096ffa36d38f010f4bc1b34c7891ccaf74e93
Listen to ACTION_UID_REMOVED only. DO NOT MERGE.

NMPS was listening to both ACTION_UID_REMOVED and
ACTION_PACKAGE_REMOVED, which not only was redundant but would also
cause problems when a package with shared UIDs was removed.

Fixes: 31375684

Change-Id: Iec006dbbec0e6298f1e568cbf81ed3672f61b7d2
(cherry picked from commit fdebbea401dc9d38b0cbea0fdfbd758e16805358)
services/core/java/com/android/server/net/NetworkPolicyManagerService.java