commit | 0c2601bc810bdea31d27ec2ecece2d824b830da6 | [log] [tgz] |
---|---|---|
author | Alex Johnston <acjohnston@google.com> | Wed Mar 08 22:28:28 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Apr 06 00:36:43 2023 +0000 |
tree | 613684d2a3a72d921f76934c12740394c5441299 | |
parent | f11ce5d7cac6a128d3eefad2b8e94ca7dd054713 [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 (cherry picked from commit 269fcb6873dee199dd8023831f882aafff1f6291) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:99b199d1139f50dbecba4f4bdc8066c6d0c28b5b) Merged-In: I4279dc37f0e17aedb1c2a87468478248443a253e Change-Id: I4279dc37f0e17aedb1c2a87468478248443a253e