[Fold to AOD animation] part 3: do not collapse notification shade and delay doze display mode
Fixes a few issues with fold to AOD animation: 1) Sometimes when folding a foldable device and showing AOD we see the underlying app (launcher/wallpaper) for 1-2 seconds. It happens because the system sends 'hide system dialogs' broadcast when starting dreaming which collapses and hides the notification shade. We need the notification shade in expanded state to show the scrims and AOD UI. Added ignoring of collapsing when fold to AOD animation is hapenning. 2) When folding from unlocked state the animation was playing with reduced FPS (the display was going into doze mode). Added delay for going into doze mode when animation is about to happen. Bug: 202844967 Test: fold/unfold when locked/unlocked Test: power button screen off from locked/unlocked states Change-Id: I2af5e4965ef7db234a1931ca442640c96000ec56
Loading
Please register or sign in to comment