Merge "Add null-check before reparenting content overlay" into tm-dev am: c3b917ad97
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18439341 Change-Id: I393b76e60fc22d129c1fd41dcecd4425cd70bf49 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -363,7 +363,7 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener,
|
||||
}
|
||||
mPipBoundsState.setBounds(destinationBounds);
|
||||
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
|
||||
// will be removed when the current transition is finished, so we need to reparent it
|
||||
// to the actual Task surface now.
|
||||
|
||||
Reference in New Issue
Block a user