diff options
| author | 2022-03-09 18:00:54 +0000 | |
|---|---|---|
| committer | 2022-03-21 11:07:32 +0000 | |
| commit | f46f7d429c1fbbf6e92219a00c18dc504079bb34 (patch) | |
| tree | b73c3429aa0cf9bc2a11333323a1beb49bd2b5e8 /libs/androidfw/StringPool.cpp | |
| parent | 5169706329be5f3204f319dfa397beab304309d5 (diff) | |
Fix split shade issues when going from portrait expanded quick settings
Fixes a couple of issues with the split shade when
starting from normal shade with expanded quick
settings to split shade:
* Notifications are not scrollable
updateQsState() wasn't called when switching between
normal shade <-> split shade. It calls setScrollingEnabled
which is based on whether quick settings in full screen
or not (basically are we in split shade or not).
* Footer is not visible
There was a recent change that hides footer when
quick settings expanded to avoid animation issues.
We don't need this for split shade, so added a check
so we don't hide them in split shade.
* Notifications are not collapsed into shelf
Stack height was not updated when quick settings
are expanded, so the end of the stack was outside
of the screen bounds. Added exception for non-fullscreen
quick settings to update the height.
* Notification stack is clipped incorrectly
This is especially visible when swiping quickly,
you can see that 'manage'/'clear all' buttons
go outside of the shade background.
Updated clipping calculation so notification background
doesn't add corner radius to the coordinates by default
and we add bottom margin to calculate the bottom
part of the clipping rectangle.
Bug: 222699879
Test: expanding/closing quick settings and switching
between splitshade/non-splitshade => checking that
the shade is rendered correctly
Change-Id: Ieb9a8dddccf08f5b333a5065d78694278ca5ed55
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions