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

Commit cb26db08 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Don't apply existing keyguard animation to IME window

Low risk fix, but it remains unclear what the underlying cause is.

This also applies keyguard exit animation to windows on the default
display.

Bug: 21788383
Bug: 22096813
Change-Id: I37dd4b18483c1103f5f2817f4879f080a38bceca
parent 1fa8290d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -343,7 +343,9 @@ public class WindowAnimator {
                        boolean applyExistingExitAnimation = mPostKeyguardExitAnimation != null
                                && !winAnimator.mKeyguardGoingAwayAnimation
                                && win.hasDrawnLw()
                                && win.mAttachedWindow == null;
                                && win.mAttachedWindow == null
                                && !win.mIsImWindow
                                && displayId == Display.DEFAULT_DISPLAY;

                        // If the window is already showing and we don't need to apply an existing
                        // Keyguard exit animation, skip.