summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2018-06-26 10:52:48 -0600
committerJeff Sharkey <jsharkey@android.com>2018-06-26 14:12:14 -0600
commit3ac2a434554214baed22e30867ec1bdfc64c7b03 (patch)
tree4919dea7bbb7998a67aee5dedc2dabb77300797f /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc59a5e7e0b01364f30bab0a134f77539c31163dc (diff)
Give StrictMode more bits to work with.
We're almost out of bits, and we don't really need to smash both thread and VM policy into the same 32-bit value, so use the lower 16-bits for each policy type and the upper 16-bits for penalty. ActivityManager is only consulting the penalty bits, so we can remove getViolationBit() and switch CTS over to doing instanceof checks. Bug: 110413274 Test: atest cts/tests/tests/os/src/android/os/cts/StrictModeTest.java Change-Id: I760e6a28f56da66dc75b7df9daf2167ff5bdff50
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions