diff options
| author | 2022-05-02 20:20:28 -0500 | |
|---|---|---|
| committer | 2022-05-06 14:55:16 -0500 | |
| commit | 1c88a2be528fb802b387fb67188cf27400e14928 (patch) | |
| tree | bbf0cac275e5479eb7ade3815fc6396c2b3a9504 /libs/androidfw/StringPool.cpp | |
| parent | c8fcbb5ba423a57c0f7a88d3c1c1b970c7f9a11f (diff) | |
Fix one-icon shelf flicker on lockscreen swipe-up
The flicker happens because floating point comparison
for viewStart and shelfStart is off by ~0.001f sometimes,
such that the notification is thought to be above the shelf,
causing the shelf to hide since it no longer has a full view.
Bug: 222123657
Test: NotificationShelfTest
Test: on lockscreen, swipe up with one icon in shelf
=> no flickering
Change-Id: Iad2bb24d4a51d5a831aa3193de10f768fa7c41be
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions