Ignore scheduleFinishResizePip if there is no surface to operate on.
Unable to repro, but based on the stack trace it happens here. Adding proto logs to use when we collect repro steps from users. Bug: 242939615 Test: n/a, unable to repro Change-Id: I0d6761e26eb2bfadcd673bb3777812340aa060ae
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