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

Commit 66e7b80e authored by Winson Chung's avatar Winson Chung Committed by Automerger Merge Worker
Browse files

Merge "Cancel unocclude animation on main thread" into tm-qpr-dev am: ac8ef32b

parents 998b368a ac8ef32b
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -983,9 +983,11 @@ public class KeyguardViewMediator extends CoreStartable implements Dumpable,

                @Override
                public void onAnimationCancelled(boolean isKeyguardOccluded) {
                    mContext.getMainExecutor().execute(() -> {
                        if (mUnoccludeAnimator != null) {
                            mUnoccludeAnimator.cancel();
                        }
                    });

                    setOccluded(isKeyguardOccluded /* isOccluded */, false /* animate */);
                    Log.d(TAG, "Unocclude animation cancelled. Occluded state is now: "