Merge "Add null-check before reparenting content overlay" into tm-dev
This commit is contained in:
@@ -363,7 +363,7 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener,
|
|||||||
}
|
}
|
||||||
mPipBoundsState.setBounds(destinationBounds);
|
mPipBoundsState.setBounds(destinationBounds);
|
||||||
mSwipePipToHomeOverlay = overlay;
|
mSwipePipToHomeOverlay = overlay;
|
||||||
if (ENABLE_SHELL_TRANSITIONS) {
|
if (ENABLE_SHELL_TRANSITIONS && overlay != null) {
|
||||||
// With Shell transition, the overlay was attached to the remote transition leash, which
|
// With Shell transition, the overlay was attached to the remote transition leash, which
|
||||||
// will be removed when the current transition is finished, so we need to reparent it
|
// will be removed when the current transition is finished, so we need to reparent it
|
||||||
// to the actual Task surface now.
|
// to the actual Task surface now.
|
||||||
|
|||||||
Reference in New Issue
Block a user