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

Commit 26df2bf4 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE in overridePlayingAppAnimations" into nyc-mr1-dev

parents 84826a0d 6e5f3d2e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -846,6 +846,9 @@ class AppWindowToken extends WindowToken {
    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);