Loading libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/SplitScreenController.java +10 −7 Original line number Diff line number Diff line Loading @@ -349,17 +349,20 @@ public class SplitScreenController implements DragAndDropPolicy.Starter, RemoteAnimationTarget[] wallpapers, RemoteAnimationTarget[] nonApps, IRemoteAnimationFinishedCallback finishedCallback, SurfaceControl.Transaction t) { mStageCoordinator.updateSurfaceBounds(null /* layout */, t); if (apps == null || apps.length == 0) { // Do nothing when the animation was cancelled. t.apply(); return; } if (apps != null) { mStageCoordinator.updateSurfaceBounds(null /* layout */, t); for (int i = 0; i < apps.length; ++i) { if (apps[i].mode == MODE_OPENING) { t.show(apps[i].leash); } } } t.apply(); if (finishedCallback != null) { try { finishedCallback.onAnimationFinished(); Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/SplitScreenController.java +10 −7 Original line number Diff line number Diff line Loading @@ -349,17 +349,20 @@ public class SplitScreenController implements DragAndDropPolicy.Starter, RemoteAnimationTarget[] wallpapers, RemoteAnimationTarget[] nonApps, IRemoteAnimationFinishedCallback finishedCallback, SurfaceControl.Transaction t) { mStageCoordinator.updateSurfaceBounds(null /* layout */, t); if (apps == null || apps.length == 0) { // Do nothing when the animation was cancelled. t.apply(); return; } if (apps != null) { mStageCoordinator.updateSurfaceBounds(null /* layout */, t); for (int i = 0; i < apps.length; ++i) { if (apps[i].mode == MODE_OPENING) { t.show(apps[i].leash); } } } t.apply(); if (finishedCallback != null) { try { finishedCallback.onAnimationFinished(); Loading