diff options
author | Suprabh Shukla <suprabh@google.com> | 2018-05-24 18:38:50 -0700 |
---|---|---|
committer | Suprabh Shukla <suprabh@google.com> | 2018-05-25 03:13:37 +0000 |
commit | 5bf4981e8be68fa493dbfa8c40655f601680dc20 (patch) | |
tree | 7b595e0afc42269b87c641d4201f84b2f3aab6e9 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 41a60f40338851616d149fdb43813ea6b1377ff1 (diff) |
Only user whitelist gets allow_while_idle_unrestricted
Due to earlier refactorings, now allow-in-power-save-except-idle apps
are getting the flag ALLOW_WHILE_IDLE_UNRESTRICTED, which should not
happen. Restricting to user whitelisted app ids as was the case in O.
Test: atest com.android.server.AppStateTrackerTest
atest android.alarmmanager.cts.AppStandbyTests
Also, manually,
adb shell cmd deviceidle whitelist +<package-name>
Then verify the app id appears in App state tracker dump in
adb shell dumpsys alarm
Bug: 74773710
Change-Id: I6fdce33446e1374c6672ce98769aa8b5844effa9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions