| commit | 2447e6292f63ea0d24c6f2f1f213de4b7d163311 | [log] [tgz] |
|---|---|---|
| author | Jing Ji <jji@google.com> | Fri Sep 02 23:12:01 2022 -0700 |
| committer | Jing Ji <jji@google.com> | Tue Oct 11 10:41:01 2022 -0700 |
| tree | 39e1b212d9b8a98d089a5c49355a98c2f9a99a53 | |
| parent | 249358d2cb6a8f6af148956fb51c1f2fb1cecc26 [diff] |
Add test for the behavior of ActivityManager#killBackgroundProcesses Calling it from regular apps can kill its own background processes only, unless it has the privileged permission KILL_ALL_BACKGROUND_PROCESSES. Bug: 239423414 Test: atest ActivityManager#killBackgroundProcesses Test: atest PermissionPolicyTest Change-Id: I88b25710d4330189b8acfdb1468a297f7268f040