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

Commit ebb2bbba authored by Winson Chung's avatar Winson Chung Committed by android-build-merger
Browse files

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

am: 3a32d357

Change-Id: Ie6ef27e0d233debca4884c5628c076121c8a5b34
parents 870163ce 3a32d357
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.");