summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMathew Inwood <mathewi@google.com>2018-04-05 15:44:20 +0100
committerMathew Inwood <mathewi@google.com>2018-04-05 16:27:50 +0100
commita6d02fb1041bf19161fd4d74bcf5a1cd87495245 (patch)
treed48c69cad051523a7e2ab9acc24e739638fa5257 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc83cf90166120435e09a1dd4a436e095622b071c (diff)
Replace ALL_LISTS policy with JUST_WARN.
It seems pretty unlikely that we'd ever want to disallow access to the light greylist in P, since doing do would break do many apps. We don't need this policy here as an opt-in for apps now, since the StrictMode work will achieve the same thing. Instead, make a "just warn" policy which allows access to all APIs, but leaves the detection and logging logic in place. This gives us the option of disabling enforcement, but still gathering logs to find out which apps use which APIs. Bug: 77517571 Test: Boot device Test: Hardcode policy of HIDDEN_API_ENFORCEMENT_JUST_WARN and verify log Change-Id: I588f347716a79ac5887b74763c8afc16b3be699b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions