summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Caitlin Shkuratov <caitlinshk@google.com> 2023-08-23 17:36:16 +0000
committer Caitlin Shkuratov <caitlinshk@google.com> 2023-08-28 14:02:30 +0000
commit3c102221505d8330ddc68751f6c90a0ca87cd5ab (patch)
tree56786bf41d124218912bffd7bef0f5809a89808b /cmds/bootanimation/BootAnimation.cpp
parenteb73eca1ed6d9a93317694c821e241110b03877f (diff)
[CS] 2/4: Have NotificationLogger listen to shade/LS visibility directly
Removes some CentralSurfaces logic by having NotificationLogger listen directly to WindowRootViewVisibilityInteractor instead of requiring CentralSurfaces to notify NotificationLogger. Also removes some NotificationLogger internal logic around starting & stopping logging. When I added some debug logging, the CentralSurfaces calls to start/stop logging were *always* happening at the same cadence as the internal NotificationLogger tracking. So, I removed the internal tracking to have NotificationLogger use only one source of truth. Bug: 296050180 Test: manual: verified via logging that notif logging starts when device wakes to lockscreen or when shade is pulled down while unlocked. Verified notif logging stops when on bouncer, device is unlocked, or device goes to sleep. Test: atest NotificationLoggerTest CentralSurfacesImplTest Change-Id: Id05ddf681d42b5185517faf2689761ac36bfff8a
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions