Merge "Fix Maps PiP entrance to not bounce down and up" into udc-dev am: 0a3b65233d am: c04b7a53f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23183762 Change-Id: I7789f50fa9e60b07af51f334230fdc89e687fdbb Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user