summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Ats Jenk <atsjenk@google.com> 2024-02-22 16:55:14 -0800
committer Ats Jenk <atsjenk@google.com> 2024-02-28 12:18:11 -0800
commit8de6adaff5c94522d103f988c21472678c2798c0 (patch)
tree52e59486391a077c183574cf9508605ab9ba0d4f /libs/androidfw/FileStream.cpp
parent7682cc97dd4b38e7c7243ae18ea844b8a8ea904c (diff)
Listen for dreaming state changes in BubblesManager
Fixes a bug with bubbles remaining hidden if keyguard dismissed event is received before dreaming stops. Bubbles are hidden when device is locked or is in dreaming state. We have a callback to get notified of keyguard state changes. That callback checks for both keyguard state and dreaming state. We were not listening specifically for dreaming state changes. This led to a bug with bubbles remaining hidden after device unlock. We were not notified of dreaming state change and left the bubbles hidden. We were already listening for status bar events. This change includes a check for dreaming state changes. If dreaming state changes and keyguard is already dismissed, we show the bubbles. Flag: NONE Bug: 314124017 Test: atest SystemUITests:BubblesTest Test: manual - have fingerprint lock set up on the device - open gmail - lock device - wait for screen to turn off, unlock device with fingerprint - trigger a bubble - observe that bubble is visible Change-Id: Id58ad112828748fcc0709b1366fe447fc22f357b
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions