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

Commit 344135d3 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Merge "Fix Maps PiP entrance to not bounce down and up" into udc-dev...

Merge "Merge "Fix Maps PiP entrance to not bounce down and up" into udc-dev am: 0a3b6523 am: c04b7a53" into udc-d1-dev-plus-aosp am: 8c55ab81

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23183762



Change-Id: Ib05369f5af294a63f0d7016c25dec96df305cb8d
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 960179f7 8c55ab81
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -946,10 +946,15 @@ public class PipController implements PipTransitionController.PipTransitionCallb
                    mPipBoundsState.getDisplayBounds().right,
                    mPipBoundsState.getDisplayBounds().bottom);
            mPipBoundsState.addNamedUnrestrictedKeepClearArea(LAUNCHER_KEEP_CLEAR_AREA_TAG, rect);
            updatePipPositionForKeepClearAreas();
        } else {
            mPipBoundsState.removeNamedUnrestrictedKeepClearArea(LAUNCHER_KEEP_CLEAR_AREA_TAG);
            // postpone moving in response to hide of Launcher in case there's another change
            mMainExecutor.removeCallbacks(mMovePipInResponseToKeepClearAreasChangeCallback);
            mMainExecutor.executeDelayed(
                    mMovePipInResponseToKeepClearAreasChangeCallback,
                    PIP_KEEP_CLEAR_AREAS_DELAY);
        }
        updatePipPositionForKeepClearAreas();
    }

    private void setLauncherAppIconSize(int iconSizePx) {