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

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

Merge "Fix race condition when destroying view" into oc-dr1-dev am: b0e5b53b

am: e5a48c5b

Change-Id: I67e0ca0dd05d4989f3883ad98ed4a9cc58266ee1
parents fe7ff804 e5a48c5b
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -234,8 +234,11 @@ public class KeyguardBouncer {
    }

    protected void ensureView() {
        mHandler.removeCallbacks(mRemoveViewRunnable);
        if (mRoot == null) {
        // Removal of the view might be deferred to reduce unlock latency,
        // in this case we need to force the removal, otherwise we'll
        // end up in an unpredictable state.
        boolean forceRemoval = mHandler.hasCallbacks(mRemoveViewRunnable);
        if (mRoot == null || forceRemoval) {
            inflateView();
        }
    }
+1 −0
Original line number Diff line number Diff line
@@ -404,6 +404,7 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb

    public void onOverlayChanged() {
        mBouncer.hide(true /* destroyView */);
        mBouncer.prepare();
    }

    private void animateScrimControllerKeyguardFadingOut(long delay, long duration,