Merge "Don't add a dismiss target to WM if we're not in PiP." into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
044fd54ee7
@@ -337,8 +337,10 @@ public class PipTouchHandler {
|
|||||||
mMotionHelper.synchronizePinnedStackBounds();
|
mMotionHelper.synchronizePinnedStackBounds();
|
||||||
reloadResources();
|
reloadResources();
|
||||||
|
|
||||||
// Recreate the dismiss target for the new orientation.
|
if (mPipTaskOrganizer.isInPip()) {
|
||||||
mPipDismissTargetHandler.createOrUpdateDismissTarget();
|
// Recreate the dismiss target for the new orientation.
|
||||||
|
mPipDismissTargetHandler.createOrUpdateDismissTarget();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onImeVisibilityChanged(boolean imeVisible, int imeHeight) {
|
public void onImeVisibilityChanged(boolean imeVisible, int imeHeight) {
|
||||||
|
|||||||
Reference in New Issue
Block a user