summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Michal Brzezinski <brzezinski@google.com> 2022-03-02 15:45:51 +0000
committer Michal Brzezinski <brzezinski@google.com> 2022-03-07 14:45:08 +0000
commit019d7292254b39bac8ea0f8493a3dd83c3f24a18 (patch)
tree57bd1e2a965ad48fbaee9ab65ed7b6f35d7cb0b7 /libs/input/SpriteController.cpp
parentcdb9f0c8aac0f8440fb8c2371e8815543bc27a4c (diff)
Fixing expansion state in NotificationPanelViewController
This also reverts ag/16835086, which was just a quick hack while this is a proper long-term solution. The main change here is making sure mQsExpanded flag accurately represents the state in split shade. To do that, mQsExpandImmediately is reused and it makes sure that QS ends up in proper state once shade is expanded. That cascaded to other changes/fixes, one of the major one being changing mQsExpanded in NotificationStackScrollLayout to mQsFullScreen - otherwise every use of mQsExpanded would have to be updated with checking if we’re in split shade mode. mQsFullScreen better represents change in notifications behaviour depending on the state. Fixes: 218268829 Test: Expand split shade and check all tiles - especially on the second page - are working correctly Change-Id: Id65c73c034fb8705eed8274416f125e4d861ac30
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions