Merge "Ignore scheduleFinishResizePip if there is no surface to operate on." into tm-qpr-dev am: 91a8c017b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19821473 Change-Id: I34c14e3f2a29d12f6848dbbe1459980c00fd08c3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1306,6 +1306,12 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener,
|
||||
return;
|
||||
}
|
||||
|
||||
if (mLeash == null || !mLeash.isValid()) {
|
||||
Log.e(TAG, String.format("scheduleFinishResizePip with null leash! mState=%d",
|
||||
mPipTransitionState.getTransitionState()));
|
||||
return;
|
||||
}
|
||||
|
||||
finishResize(createFinishResizeSurfaceTransaction(destinationBounds), destinationBounds,
|
||||
direction, -1);
|
||||
if (updateBoundsCallback != null) {
|
||||
|
||||
Reference in New Issue
Block a user