diff options
| author | 2023-09-28 15:42:34 -0400 | |
|---|---|---|
| committer | 2023-10-02 18:04:40 -0400 | |
| commit | d5f31bc7fcddc93ef65996e048dcda927202169f (patch) | |
| tree | 04cf2217f33f1d789fb29197af9d36bbfe516ee7 /libs/androidfw/FileStream.cpp | |
| parent | c79c20337222d701c39f3ff6e39e1a7f7924b71e (diff) | |
(1/x) Consolidate Screen/Wakefulness lifecycle state into PowerRepository.
Despite being relied upon from all over System UI, these classes are
in the keyguard package. They're also confusing - screen lifecycle
methods aren't called at all if AOD is enabled.
This CL moves screen/wakefulness state from KeyguardRepository into
PowerRepository, and dispatches state directly from the source of
truth (KeyguardService and CommandQueue) into PowerRepository. It also
deprecates ScreenLifecycle/WakefulnessLifecycle - I will migrate uses
of those classes in follow-up CLs so they can be reverted if they
cause issues.
Bug: 298213384
Test: atest PowerInteractorTest
Test: atest SystemUITests
Change-Id: Ie735834bbf40f4c99b729db4fce6096ccc569eb2
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions