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
Loading
Please register or sign in to comment