summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupData.cpp
diff options
context:
space:
mode:
author Santos Cordon <santoscordon@google.com> 2023-06-12 15:25:08 +0100
committer Santos Cordon <santoscordon@google.com> 2023-07-12 16:30:04 +0100
commit37027b38cf7a1846732664ca7a4a8060d545cff5 (patch)
tree8ffcbc28716fa9f6bcb1acbf7f774e966fef280f /libs/androidfw/BackupData.cpp
parent5b35c961b57ed24e8b6214afd4c05f4f00bf3397 (diff)
Removing AutomaticBrightnessStrategy refs in DPC2
This change starts the ABS/ABC move out of DPC2 by moving the construction of ABS to BrightnessStrategySelector. Subsequent changes will move ABC to ABS and convert the ABS calls in DPC2 into return values of DisplayBrightnessController.updateBrightness. This is a first step in that direction. The call to ABS.shouldUseAutoBrightness() was changed to a value on DisplayBrightnessState (return val of DBC.updateBrighntess()) in order to prove out the plan of converting method calls to return values instead. This required some additional scaffolding in DBC which will be removed once ABS works like a standard strategy and can fill DisplayBrightnessState during its updateBrightness phase. Bug: 253226419 Test: atest com.android.server.display Test: Manual, verify ScreenOffStrategy and Auto-brightness work. Change-Id: If3251cdc76ef47effe3b8bb762d10b7311385790
Diffstat (limited to 'libs/androidfw/BackupData.cpp')
0 files changed, 0 insertions, 0 deletions