Skip to content
Commit 111b3a2a authored by Makoto Onuki's avatar Makoto Onuki
Browse files

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
parent 7535df42
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment