diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2017-07-19 00:23:44 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2017-08-08 10:32:56 +0900 |
commit | 8c253ade20827e16720c4a0d58cddfe72350e677 (patch) | |
tree | 7db241f5fbe84445a271ed932193194f50355339 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d17160ba191259ccde9fd74a974b2e6c88a7e8da (diff) |
Minor fixes for netd restarts and StrictController.
1. Ensure we don't change strict mode network policy for a given
UID from a non-accept policy to another non-accept policy,
as netd does not support this.
2. Move the "strict enable" and "bandwidth enable" commands
inside the lock. This improves correctness, and it is safe to
do now that those commands now only take a few milliseconds,
instead of several hundred milliseconds.
3. Fix an NPE in connectNativeNetdService which causes the system
to crash when netd crashes.
Bug: 28362720
Test: bullhead builds, boots
Test: "adb shell killall netd" no longer crashes the system
Change-Id: Icdaa9d1e2288accf35de21df56bc6bd2b0628255
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions