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

Commit 2e86be76 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Fix issue where we weren't dismissing the pip menu activity." into oc-dev

parents 4b6e82d2 be4a808b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -662,6 +662,7 @@ public class PipTouchHandler implements TunerService.Tunable {
                mMenuController.showMenu(MENU_STATE_FULL, mMotionHelper.getBounds(),
                        mMovementBounds, true /* allowMenuTimeout */);
            } else {
                mMenuController.hideMenu();
                mMotionHelper.expandPip();
            }
            return true;
+4 −2
Original line number Diff line number Diff line
@@ -10534,8 +10534,10 @@ public class ActivityManagerService extends IActivityManager.Stub
                    if (stackId == PINNED_STACK_ID) {
                        final PinnedActivityStack pinnedStack =
                                mStackSupervisor.getStack(PINNED_STACK_ID);
                        pinnedStack.animateResizePinnedStack(null /* sourceBounds */, destBounds,
                                animationDuration);
                        if (pinnedStack != null) {
                            pinnedStack.animateResizePinnedStack(null /* sourceBounds */,
                                    destBounds, animationDuration);
                        }
                    } else {
                        throw new IllegalArgumentException("Stack: " + stackId
                                + " doesn't support animated resize.");