diff options
| author | 2023-05-05 14:59:46 +0100 | |
|---|---|---|
| committer | 2023-05-05 16:03:36 +0100 | |
| commit | bffcecfa07368f2886c6293ca2bda18bb48be3ec (patch) | |
| tree | abd5d4916b88be9bc341e60065ecff2dda608b3d /libs/androidfw/ApkAssets.cpp | |
| parent | f6adbe0d1fc89dbf5d0421007e06c4de71aa8a2b (diff) | |
Fixing broken shade after unfolding during expanding QS
The goal of this change is to transmit `QuickSettingsController#computeExpansionFraction() > 0` to CentralSurfacesImpl so in this case we can also close QS before turning screen off.
Now CentralSurfacesImpl checks for shade being fully open or shade being in process of opening/collapsing
In the meantime I noticed mIsExpanding really means mIsExpandingOrCollapsing and renamed it like so - that's why so many files are modified.
Also changed isExpanding() function to be more comprehensive and properly handle shade opening on lockscreen.
Fixes: 277909752
Test: NotificationPanelViewControllerTest#isExpandingOrCollapsing_returnsTrue_whenQsLockscreenDragInProgress
Test: CentralSurfacesImplTest#deviceStateChange_unfolded_shadeExpanding_onKeyguard_closesQS
Test: CentralSurfacesImplTest#deviceStateChange_unfolded_shadeExpanded_onKeyguard_closesQS
Change-Id: I22373e6aaf472a9df50c31fb38db26147b4d3d31
Diffstat (limited to 'libs/androidfw/ApkAssets.cpp')
0 files changed, 0 insertions, 0 deletions