Merge "Don't move stashed PiP in response to keep clear areas changes." into tm-qpr-dev am: 8ae6380120 am: b9e4d09f08
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20141170 Change-Id: If300b631633d101f4b53c1d806154fd58b78a7df Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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