Pass in name for SurfaceSyncGroup to handle debugging better.
Test: perfetto trace and logs Bug: 263340863 Change-Id: I40d887a071976e1506da9a06a1b50fa9b1394a27
This commit is contained in:
1 parent
a4bea0d945
commit
1906862d97
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);
|
||||
|
||||
Reference in new issue
Block a user