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

Commit 5909d013 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Fixed problem where scrim transition would be cancelled

Change-Id: I089e499bfaf524898f5156aecaf098c94b9a1b2b
Fixes: 64077859
Test: send notifications, look at AoD
parent 2d362d71
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -84,9 +84,6 @@ public class DozeUi implements DozeMachine.Part {
            case DOZE_REQUEST_PULSE:
                pulseWhileDozing(mMachine.getPulseReason());
                break;
            case DOZE_PULSE_DONE:
                mHost.abortPulsing();
                break;
            case INITIALIZED:
                mHost.startDozing();
                break;
+1 −1
Original line number Diff line number Diff line
@@ -384,7 +384,7 @@ public class DozeScrimController {
            if (mDozeParameters.getAlwaysOn()) {
                // Setting power states can happen after we push out the frame. Make sure we
                // stay fully opaque until the power state request reaches the lower levels.
                setDozeInFrontAlphaDelayed(mAodFrontScrimOpacity, 30);
                setDozeInFrontAlphaDelayed(mAodFrontScrimOpacity, 100);
            }
        }
    };
+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 = 100;
    private static final long RELEASE_DELAY_MS = 120;

    private final Handler mHandler;
    private final WakeLock mInner;