diff options
author | Dianne Hackborn <hackbod@google.com> | 2018-08-23 15:20:05 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2018-08-26 18:19:07 -0700 |
commit | 8c76d91bd21135f63ef5e8756b1a2e342e81413f (patch) | |
tree | df787190976cb14e678b05d043c99ff47ae73865 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | c0ea4241bb9ea8d0b9dea5147ac839884b42b55d (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: I01997d6f888341e8eb2afe6a69545dd5be013744
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions