Merge "Pass in name for SurfaceSyncGroup to handle debugging better."

This commit is contained in:
Chavi Weingarten authored and Android (Google) Code Review committed 2022-12-27 22:39:53 +00:00
commit 4f15d0fe80
1 file changed
+1 -1
@@ -542,7 +542,7 @@ public class TaskbarDragController extends DragController<BaseTaskbarContext> 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);