Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 741cba2f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add log to RemoteTargetGluer to determine which array is empty." into sc-v2-dev

parents 06146a19 75465b2d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -94,6 +94,9 @@ public class RemoteTargetGluer {
    public RemoteTargetHandle[] assignTargetsForSplitScreen(RemoteAnimationTargets targets) {
        int[] splitIds = LauncherSplitScreenListener.INSTANCE.getNoCreate()
                .getRunningSplitTaskIds();
        Log.d(TAG, "splitIds length: " + splitIds.length
                + " targetAppsLength: " + targets.apps.length
                + " remoteHandlesLength: " + mRemoteTargetHandles.length);
        if (splitIds.length == 0 && mRemoteTargetHandles.length > 1) {
            // There's a chance that between the creation of this class and assigning targets,
            // LauncherSplitScreenListener may have received callback that removes split