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