commit | 1c88a2be528fb802b387fb67188cf27400e14928 | [log] [tgz] |
---|---|---|
author | Lyn Han <lynhan@google.com> | Mon May 02 20:20:28 2022 -0500 |
committer | Lyn Han <lynhan@google.com> | Fri May 06 14:55:16 2022 -0500 |
tree | bbf0cac275e5479eb7ade3815fc6396c2b3a9504 | |
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