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

Commit b38dd692 authored by Lucas Dupin's avatar Lucas Dupin Committed by android-build-merger
Browse files

Merge "Longer wake lock timeout" into pi-dev am: 315c230c

am: cf46c7d6

Change-Id: I8d1c9a452ad162b9676245a3b1b3c367c8a125ac
parents 71ddc4f7 cf46c7d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -807,7 +807,7 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener, OnCo
    @VisibleForTesting
    protected WakeLock createWakeLock() {
         return new DelayedWakeLock(getHandler(),
                WakeLock.createPartial(mContext, "Doze"));
                WakeLock.createPartial(mContext, "Scrims"));
    }

    @Override
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ import android.os.Handler;
 */
public class DelayedWakeLock implements WakeLock {

    private static final long RELEASE_DELAY_MS = 120;
    private static final long RELEASE_DELAY_MS = 240;

    private final Handler mHandler;
    private final WakeLock mInner;