Sleep activities with AOD
Previously in the last release we started sleeping as soon as the device was not interactive anymore. However, this caused issues with ambiactive activites on Android Wear. Instead, we introduce a new private flag on a window that signals that all activities should be put to sleep. We use this flag in SystemUI as soon as SystemUI is "dozing", which means its ambient display is showing. This flag gets set before we request PWM to wake-up, so it's ensured that this will not cause any spurious lifecycle events. Test: go/wm-smoke Test: android.server.cts.KeyguardTests Change-Id: I20f6dd4bfde220f945ef94d2ac1b89dd3694de32 Fixes: 64940094
Loading
Please register or sign in to comment