summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorNate Myren <ntmyren@google.com>2020-01-23 13:25:06 -0800
committerNate Myren <ntmyren@google.com>2020-01-24 14:13:00 -0800
commit697650b3b7605fbef1d507de87a704751497fe66 (patch)
treeb6919a65274de3d96ec73d3ac2f427de1d3c680a /tools/aapt2/java/JavaClassGenerator_test.cpp
parent39d47275b0011f23ea3872b27485473e3085690c (diff)
Disable user-facing historical app ops methods
Disable the ability to see historical app ops using dumpsys, and by calling "getHistoricalOps", unless the calling package has an instrumentation, or is the statsd package. Fixes: 148227477 Test: attempt to call into getHistoricalOps while not an instrumented application or statsd. The method should return an empty bundle. Run "adb shell dumpsys appops --history" should return "no such arg", and "adb shell dumpsys appops -h" should not show "--history" in the args. Change-Id: Ie5ad9a90ffc0473aba958199450bcff9315f71a6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions