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

Commit bb250546 authored by Winson Chung's avatar Winson Chung
Browse files

Fixing NPE when animating bounds.

Bug: 36163225
Test: android.server.cts.ActivityManagerPinnedStackTests
Change-Id: I68f807f80768d279cdd55243592f87d3f752b1c6
parent 914c4ab1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -64,6 +64,9 @@ public class PinnedStackWindowController extends StackWindowController {
            mContainer.getBounds(originalBounds);
            mContainer.setAnimatingBounds(toBounds);
            UiThread.getHandler().post(() -> {
                if (mContainer == null) {
                    return;
                }
                mService.mBoundsAnimationController.animateBounds(mContainer, originalBounds,
                        toBounds, animationDuration, moveToFullscreen);
            });