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

Commit 3e7d8f33 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "wallpaper: disallow draw wake lock during DOZE_SUSPEND" into main

parents c32d34a4 e41e055e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -404,8 +404,7 @@ public abstract class WallpaperService extends Service {
            }

            private void prepareToDraw() {
                if (mDisplayState == Display.STATE_DOZE
                        || mDisplayState == Display.STATE_DOZE_SUSPEND) {
                if (mDisplayState == Display.STATE_DOZE) {
                    try {
                        mSession.pokeDrawLock(mWindow);
                    } catch (RemoteException e) {