Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8f2b1f41 authored by Philip Junker's avatar Philip Junker
Browse files

Move DisplayPowerRequest logic into PowerGroup.

Move access to DisplayPowerRequest into PowerGroup.
Move updatePowerRequestFromBatterySaverPolicy() into PowerGroup.
Move getDesiredScreenPolicyLocked() into PowerGroup.
Rename WakeLock#getDisplayGroupId() to getPowerGroupId().
Rename updateDisplayPowerStateLocked() to updatePowerGroupsLocked().
Rename needDisplaySuspendBlockerLocked() to needSuspendBlockerLocked().

Test: atest FrameworksServicesTests:PowerManagerServiceTest
Test: atest FrameworksServicesTests:PowerGroupTest
Bug: 200653844
Change-Id: I42105744bc4d479e638afa9546f6482c3434db4e
parent e4590dbf
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