summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2016-09-09 09:25:31 -0700
committerFelipe Leme <felipeal@google.com>2016-09-27 20:45:56 +0000
commit03e95e2f436278672e6b087e03239114ebe6b80c (patch)
tree4b0dc7d751c9abc8ce7c0c2c4397d2a82b60eb3d /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3fbaf383d32720e03c9aef0e7c9073f9d9273eef (diff)
NPMS: Cleaned up UID removal code.
When an UID is removed, NPMS needs to perform 2 tasks: - Removed internal state associated with the UID. - Call NMS to reset the iptables rules associated with the UID. Currently, the UID removal logic is intermingled with code used used during the UID state path, which has 3 drawbacks: - Adds unnecessary comparisons. - Makes the code more complicated. - Is not handling all scenarios (like removing UID from fw_standby). This CL simplifies how these 2 tasks are achieved. Test: m -j32 cts && cts-tradefed run commandAndExit cts -m CtsHostsideNetworkTests -t com.android.cts.net.HostsideRestrictBackgroundNetworkTests Change-Id: I12e9a6777b0d7168751571889fd7bb2d13934745 Fixes: 31377000
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions