diff options
| author | 2023-05-19 15:13:22 +0100 | |
|---|---|---|
| committer | 2023-05-19 15:13:22 +0100 | |
| commit | cf4f4416c06ba254dd6be2aa3f7c82f66d8f616a (patch) | |
| tree | 37756f45fedaf3708f19918c44cd0485e3824dfc /libs/androidfw/ZipFileRO.cpp | |
| parent | 75c52789b7dc1bdda7e75aa5cd51ff229dfe424e (diff) | |
Fixing shade not collapsing after rotating from split shade
Issue was happening because when swiping to overscroll, mExpandImmediate in QS was set to true and was never reset. It should be true only when QS are in motion so the solution is to reset it after any motion is finished. Calling setExpandImmediate() twice is safe because if value doesn't change it doesn't do anything.
Bug: 282095041
Test: Open split shade -> scroll down to do overscrolling -> rotate to portrait -> QS should be collapsed
Test: NotificationPanelViewControllerTest#onShadeFlingEnd_mExpandImmediateShouldBeReset
Test: e2e test: SplitNotificationShadeRotateToPortrait
Change-Id: I0663bc28a48b2092546a2cb9a99993320fb7c8e4
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions