summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2018-08-23 15:20:05 -0700
committerDianne Hackborn <hackbod@google.com>2018-08-24 11:27:50 -0700
commit1f3b0302fda5cbbe0d5683cc057c84aaa1b8925c (patch)
tree293706192a11eab79bb17ccab6fd0b86ab9cab87 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent1a4b8154fc7f92aec4f621906c707479feead6e3 (diff)
Throttle requests to ActivityManager.getProcessMemoryInfo().
This is very expensive and needs to run in the system process, we don't want apps abusing it. Also don't allow apps to get information about anything but their own process, unless they have the appropriate privileged permissions. Bug: 112537519 Test: manual Change-Id: I103a11f8d5b49fd4536795ea52c05de297698cb5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions