commit | 1f3b0302fda5cbbe0d5683cc057c84aaa1b8925c | [log] [tgz] |
---|---|---|
author | Dianne Hackborn <hackbod@google.com> | Thu Aug 23 15:20:05 2018 -0700 |
committer | Dianne Hackborn <hackbod@google.com> | Fri Aug 24 11:27:50 2018 -0700 |
tree | 293706192a11eab79bb17ccab6fd0b86ab9cab87 | |
parent | 1a4b8154fc7f92aec4f621906c707479feead6e3 [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