Merge "Don't add a dismiss target to WM if we're not in PiP." into tm-qpr-dev am: 044fd54ee7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20993803 Change-Id: I86af9f3f12d5f3618b2e6bf397ceacebc76d2058 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -337,9 +337,11 @@ public class PipTouchHandler {
|
|||||||
mMotionHelper.synchronizePinnedStackBounds();
|
mMotionHelper.synchronizePinnedStackBounds();
|
||||||
reloadResources();
|
reloadResources();
|
||||||
|
|
||||||
|
if (mPipTaskOrganizer.isInPip()) {
|
||||||
// Recreate the dismiss target for the new orientation.
|
// Recreate the dismiss target for the new orientation.
|
||||||
mPipDismissTargetHandler.createOrUpdateDismissTarget();
|
mPipDismissTargetHandler.createOrUpdateDismissTarget();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void onImeVisibilityChanged(boolean imeVisible, int imeHeight) {
|
public void onImeVisibilityChanged(boolean imeVisible, int imeHeight) {
|
||||||
mIsImeShowing = imeVisible;
|
mIsImeShowing = imeVisible;
|
||||||
|
|||||||
Reference in New Issue
Block a user