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();
|
||||
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