Improve transition logging

Adding debug-names to remote transitions so that
they can be identified across processes

Bug: 276349701
Test: existing tests since this doesn't change logic
Change-Id: I41400feeb2dd91971f8c750613085c80af309aea
This commit is contained in:
Evan Rosky
2023-03-30 15:28:43 -07:00
parent 3aaae66d37
commit 8869bb5f40
3 changed files with 8 additions and 5 deletions

View File

@@ -284,7 +284,8 @@ public class SplitSelectStateController {
final RemoteSplitLaunchTransitionRunner animationRunner =
new RemoteSplitLaunchTransitionRunner(taskId1, taskId2, callback);
final RemoteTransition remoteTransition = new RemoteTransition(animationRunner,
ActivityThread.currentActivityThread().getApplicationThread());
ActivityThread.currentActivityThread().getApplicationThread(),
"LaunchSplitPair");
if (intent1 == null && intent2 == null) {
mSystemUiProxy.startTasks(taskId1, options1.toBundle(), taskId2,
null /* options2 */, stagePosition, splitRatio, remoteTransition,