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

Commit 8e9c1a59 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by android-build-merger
Browse files

Fix NPE in overridePlayingAppAnimations am: 6e5f3d2e am: 67991901

am: 14ff7289

Change-Id: Ie3cfa89ee1d8779352bc74c21d42b85dd09bc967
parents 26fc9007 14ff7289
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -790,6 +790,9 @@ class AppWindowToken extends WindowToken implements WindowManagerService.AppFree
    void overridePlayingAppAnimations(Animation a) {
        if (mAppAnimator.isAnimating()) {
            final WindowState win = findMainWindow();
            if (win == null) {
                return;
            }
            final int width = win.mContainingFrame.width();
            final int height = win.mContainingFrame.height();
            mAppAnimator.setAnimation(a, width, height, false, STACK_CLIP_NONE);