Merge "Add log to RemoteTargetGluer to determine which array is empty." into sc-v2-dev am: 741cba2fc3 am: 75454fc871

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16087353

Change-Id: Ib08760687ca0bcfec0630697fe1ed3d032f340f6
This commit is contained in:
TreeHugger Robot
2021-10-19 20:34:06 +00:00
committed by Automerger Merge Worker
@@ -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