mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-05 10:26:52 +00:00
Merge "Add log to RemoteTargetGluer to determine which array is empty." into sc-v2-dev am: 741cba2fc3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16087353 Change-Id: I501b68cc58ce12bab56249db73b61e157d251c32
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user