diff options
| author | 2023-01-24 16:18:41 -0800 | |
|---|---|---|
| committer | 2023-01-25 17:00:03 -0800 | |
| commit | 111b3a2a64b505d78a51447ebd519945dd6f86cc (patch) | |
| tree | 6bd73c7fdfd87634bb57de71da3bd3b26883a472 /libs/androidfw/ApkParsing.cpp | |
| parent | 7535df427ebe0e3e0a1ccff96a3a1e91cee45cb8 (diff) | |
Allow short-service to hold a wake lock during doze
- Change the logic to "procstate <= BFGS, _or_ the UID has a short
service".
- We should clean up the logic once we figure out a better way to do it
- Also move the part of the logic to ActivityManager so we can udpate
the logic anytime without touching PowerManagerService.
Test: Manual test using a test app
Test: atest CtsShortFgsTestCases
Test: atest FrameworksServicesTests:OomAdjusterTests
Test: atest FrameworksServicesTests:PowerManagerServiceTest
Bug: 257270313
Change-Id: Ib1819096929ccf5b8ee55e07a8933e94915aa49b
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions