Merge "Don't move stashed PiP in response to keep clear areas changes." into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8ae6380120
@@ -161,6 +161,10 @@ public class PipController implements PipTransitionController.PipTransitionCallb
|
||||
// early bail out if the keep clear areas feature is disabled
|
||||
return;
|
||||
}
|
||||
if (mPipBoundsState.isStashed()) {
|
||||
// don't move when stashed
|
||||
return;
|
||||
}
|
||||
// if there is another animation ongoing, wait for it to finish and try again
|
||||
if (mPipAnimationController.isAnimating()) {
|
||||
mMainExecutor.removeCallbacks(
|
||||
|
||||
Reference in New Issue
Block a user