Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d796d30 authored by Chen Bai's avatar Chen Bai
Browse files

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
parent 07e4d42b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment