draw-wakelock: disable DRAW_WAKE_LOCK for wallpaper
Note: this replicate the logic in ViewRootImpl by ag/27815016 DRAW_WAKE_LOCK is an internal wakelock that is acquired per frame while DOZE. It was added for ambient transition and per-minute screen change. However, an loop transition animation could extend the wakelock infiintely which drains the battery. Since Wear SystemUI now can manage the animation allowing window by itself, DRAW_WAKE_LOCK will be disabled starting U. Flag: android.view.flags.disable_draw_wake_lock Test: go/verification-limit-aod-animation Bug: 349153669 Bug: 361433696 Change-Id: I524df9b572824adc6efc67a78d3436592025cd4b
Loading
Please register or sign in to comment