From 1906862d97b260efad38db64a02a00d96ae3d400 Mon Sep 17 00:00:00 2001 From: Chavi Weingarten Date: Thu, 22 Dec 2022 20:57:29 +0000 Subject: [PATCH] Pass in name for SurfaceSyncGroup to handle debugging better. Test: perfetto trace and logs Bug: 263340863 Change-Id: I40d887a071976e1506da9a06a1b50fa9b1394a27 --- .../com/android/launcher3/taskbar/TaskbarDragController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstep/src/com/android/launcher3/taskbar/TaskbarDragController.java b/quickstep/src/com/android/launcher3/taskbar/TaskbarDragController.java index 91facf70d4..0361c75c38 100644 --- a/quickstep/src/com/android/launcher3/taskbar/TaskbarDragController.java +++ b/quickstep/src/com/android/launcher3/taskbar/TaskbarDragController.java @@ -542,7 +542,7 @@ public class TaskbarDragController extends DragController im // maybeOnDragEnd() SurfaceControl.Transaction transaction = new SurfaceControl.Transaction(); transaction.remove(dragSurface); - SurfaceSyncGroup syncGroup = new SurfaceSyncGroup(); + SurfaceSyncGroup syncGroup = new SurfaceSyncGroup("TaskBarController"); syncGroup.addSyncCompleteCallback(mActivity.getMainExecutor(), transaction::close); syncGroup.addToSync(viewRoot); syncGroup.addTransactionToSync(transaction);