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

Commit d680fbdb authored by Robin Lee's avatar Robin Lee
Browse files

Fill in a stub parameter to startKeyguardExit

startKeyguardExitAnimation doesn't use this any more on aosp but it's
cleaner to fill it in with a correct value anyway in case it is used
in the future or downstream

Change-Id: Ic23fff0f14b9278be2362cfb1da307821ae3851e
Test: N/A
Bug: 343598832
Flag: com.android.window.flags.keyguard_going_away_timeout
parent cc25ceda
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -51,6 +51,7 @@ import static com.android.server.wm.KeyguardControllerProto.KEYGUARD_SHOWING;
import android.annotation.Nullable;
import android.os.IBinder;
import android.os.RemoteException;
import android.os.SystemClock;
import android.os.Trace;
import android.util.Slog;
import android.util.SparseArray;
@@ -619,7 +620,8 @@ class KeyguardController {
            }
            state.mKeyguardGoingAway = false;
            state.writeEventLog("goingAwayTimeout");
            mWindowManager.mPolicy.startKeyguardExitAnimation(0);
            mWindowManager.mPolicy.startKeyguardExitAnimation(
                    SystemClock.uptimeMillis() - GOING_AWAY_TIMEOUT_MS);
        }
    };