Merge "Ignore scheduleFinishResizePip if there is no surface to operate on." into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
91a8c017b2
@@ -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