summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Lyn Han <lynhan@google.com> 2022-04-21 23:30:58 -0400
committer Lyn Han <lynhan@google.com> 2022-04-28 15:55:41 +0000
commit50f61bfdb74c44c258f35194c3567748a34ba1ad (patch)
tree6eaa4dfd4c75ab6cf2689306672a0aec0e18dffb /libs/androidfw/StringPool.cpp
parent5e9e3e488b0cf9529549bbc388f2a7c5d9aa300b (diff)
Fix notification shelf issues
NotificationShelf/StackScrollAlgorithm: Define "shelfStart" as yTranslation of space before the shelf because that is the point where we no longer see the notification being clipped by the shelf. StackSizeCalculator: Add missing divider before first element. Currently, all elements have divider before them. This is not ideal as we should be saving vertical space when possible - this will be addressed in a future change since this change is focused on fixing the mismatch between StackSizeCalculator and StackScrollAlgorithm. NotificationIconContainer: Remove overflowWidth since it is always a single iconWidth. We can use iconWidth instead of keeping this unused scaffolding for showing multiple dots. Fixes: 227361193 Test: NotificationStackSizeCalculatorTest Test: NotificationIconContainerTest Test: on lockscreen, have 4+ notifications, swipe them away => shelf updates icons as expected => shelf does not only show a single overflow dot Change-Id: I431a00c78a26186446182ef91f7b8935f5f422d2
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions