diff options
| author | 2024-12-20 22:20:51 +0000 | |
|---|---|---|
| committer | 2024-12-23 17:00:05 +0000 | |
| commit | 5fcc4549849de0e8371b59657e080676610cf046 (patch) | |
| tree | bfb78bd9355fc703f42d0a5f66d0d0f474d2fb00 /libs/androidfw/AssetsProvider.cpp | |
| parent | cca6684f648e718135956b55d6adb979c915a628 (diff) | |
[flexiglass] Fix the shade bottom paddings finally
Make the StackCutoffGuideline to be the same position as the bottom of
the scrolling stack, when scrolled all the way to the bottom, and make
some cleanups along the way.
Instead of passing in a boolean for shouldReserveSpaceForNavBar,
pass in the padding directly to the NotificationScrollingStack,
and be explicit about where notification stack paddings come from.
Use the horizontal stack paddings to constraint the
NotificationPlaceHolder, instead of adding extra space to the stack
height.
Bug: 380210512
Test: check the bottom padding of the stack in all (single, split, dual) shades
- empty shade (no notifications)
- few notifications (not enough to have a full height shade)
- lots of notifications (enough to scroll the shade)
Flag: com.android.systemui.scene_container
Change-Id: I2f94c0c4203784e04fa32e0e1223c328213fb050
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions