Merge "Do not offset PiP when auto-enter-pip is ongoing" into tm-dev
This commit is contained in:
@@ -1292,7 +1292,8 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener,
|
||||
*/
|
||||
public void scheduleOffsetPip(Rect originalBounds, int offset, int duration,
|
||||
Consumer<Rect> updateBoundsCallback) {
|
||||
if (mPipTransitionState.shouldBlockResizeRequest()) {
|
||||
if (mPipTransitionState.shouldBlockResizeRequest()
|
||||
|| mPipTransitionState.getInSwipePipToHomeTransition()) {
|
||||
return;
|
||||
}
|
||||
if (mWaitForFixedRotation) {
|
||||
|
||||
Reference in New Issue
Block a user