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

Commit cf46c7d6 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

Change-Id: Iff75a7f4c2d0c0051242e640116db21855c1471a
parents ee67c913 315c230c
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;