Replace DisplayGroupInfo with PowerGroup to track power state per DisplayGroup.
Remove DisplayGroupPowerStateMapper by moving logic into PowerGroup and PowerManagerService. Add @GuardedBy to all *Locked methods. Renamed adjustWakeLockSummaryLocked to adjustWakeLockSummary because it does not need the lock. Test: atest FrameworksServicesTests:PowerManagerServiceTest Bug: 200653844 Change-Id: I6c06653cf3f1777450159f39fdc0a46813ab0671
Loading
Please register or sign in to comment