summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Michal Brzezinski <brzezinski@google.com> 2022-05-11 12:45:14 +0100
committer Michal Brzezinski <brzezinski@google.com> 2022-05-11 14:27:26 +0100
commit5004cc17d4c42a01901be636e39f38c0d7a98d41 (patch)
tree58a443cb45dc68badf6559c79708db308b62547c /cmds/bootanimation/BootAnimation.cpp
parent7f24e585e24605b5ffbdb148af2041a5361f7401 (diff)
Updating QS state to default when going from or to split shade
When going from split shade to regular shade Quick Settings now will be collapsed. When changing to split shade, they will be expanded - which was already the case with UI but internal state of NPVC was not reflecting thatand it caused most bottom tiles to not work after rotating to landscape. Changing to default state will likely prevent many nasty bugs in the future. Also renaming `mShouldUseSplitNotificationShade` to `mSplitShadeEnabled` which is nicer, shorter and better follows the usual convention of *Enabled. Bug: 228198572 Fixes: 230612123 Test: 1. Rotate from split shade to regular shade and see QS are collapsed 2. Rotate from portrait with collapsed QS to split shade and see most bottom tiles are working Change-Id: I13eedf62b92dd5eb06056739f3950c76b6601a07
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions