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

Commit 2eca2241 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Add some more logging for why a change might not be passed to Launcher" into main

parents d378d385 966c7cb6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1021,6 +1021,10 @@ public final class TransitionInfo implements Parcelable {
                sb.append(" component=");
                sb.append(mActivityComponent.flattenToShortString());
            }
            if (mTaskInfo != null) {
                sb.append(" taskParent=");
                sb.append(mTaskInfo.parentTaskId);
            }
            sb.append('}');
            return sb.toString();
        }
+8 −1
Original line number Diff line number Diff line
@@ -533,12 +533,18 @@ public class RecentsTransitionHandler implements Transitions.TransitionHandler {
                        // Put into the "below" layer space.
                        t.setLayer(change.getLeash(), layer);
                        mOpeningTasks.add(new TaskState(change, null /* leash */));
                    } else {
                        ProtoLog.v(ShellProtoLogGroup.WM_SHELL_RECENTS_TRANSITION,
                                "  unhandled root taskId=%d", taskInfo.taskId);
                    }
                } else if (TransitionUtil.isDividerBar(change)) {
                    final RemoteAnimationTarget target = TransitionUtil.newTarget(change,
                            belowLayers - i, info, t, mLeashMap);
                    // Add this as a app and we will separate them on launcher side by window type.
                    apps.add(target);
                } else {
                    ProtoLog.v(ShellProtoLogGroup.WM_SHELL_RECENTS_TRANSITION,
                            "  unhandled change taskId=%d", taskInfo.taskId);
                }
            }
            ProtoLog.v(ShellProtoLogGroup.WM_SHELL_RECENTS_TRANSITION,
@@ -549,7 +555,8 @@ public class RecentsTransitionHandler implements Transitions.TransitionHandler {
                    mRecentTasksController.getSplitBoundsForTaskId(closingSplitTaskId));
            try {
                ProtoLog.v(ShellProtoLogGroup.WM_SHELL_RECENTS_TRANSITION,
                        "[%d] RecentsController.start: calling onAnimationStart", mInstanceId);
                        "[%d] RecentsController.start: calling onAnimationStart with %d apps",
                        mInstanceId, apps.size());
                mListener.onAnimationStart(this,
                        apps.toArray(new RemoteAnimationTarget[apps.size()]),
                        wallpapers.toArray(new RemoteAnimationTarget[wallpapers.size()]),