summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2017-07-19 00:23:44 +0900
committerLorenzo Colitti <lorenzo@google.com>2017-08-19 22:24:43 +0900
commiteb11304b272ab5294e01b74f5eafef2d691cef27 (patch)
tree48d4206db3031614232f8f8aef5a1ed73abe0df7 /tools/aapt2/java/JavaClassGenerator.cpp
parent21bc3a39a4a42f77dcbf7a74c8853fc043dd8263 (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. (cherry picked from commit 8c253ade20827e16720c4a0d58cddfe72350e677) Bug: 28362720 Test: bullhead builds, boots Test: "adb shell killall netd" no longer crashes the system Change-Id: Iac72cf0011a7d3be4f4b1a5f21dd8cfb519e2b89 Merged-In: I2ce3b63e4cc9bf0416f02f550f44cf188980af50
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions