commit | 552dbbc142324408ab8d53cfb5c82a9395f9532c | [log] [tgz] |
---|---|---|
author | Alex Johnston <acjohnston@google.com> | Wed Mar 08 22:28:28 2023 +0000 |
committer | Pavel Grafov <pgrafov@google.com> | Tue Mar 28 17:01:14 2023 +0000 |
tree | 20200e5b3dd7912f722bc26fcf380e7edcc442e4 | |
parent | c162515bd5ec7cf1f495699b237ee8fbb7edd265 [diff] |
Enforce DevicePolicyManager.setUserControlDisabledPackages in AppStandbyController When deciding an app's standby bucket, check if the app has its user control disabled by an IT admin. If so, the app should be the exempted restricted bucket. Bug: 272042183 Test: atest AppStandbyControllerTests Change-Id: I4279dc37f0e17aedb1c2a87468478248443a253e Merged-In: I4279dc37f0e17aedb1c2a87468478248443a253e (cherry picked from commit 269fcb6873dee199dd8023831f882aafff1f6291)