Merge "Pass in name for SurfaceSyncGroup to handle debugging better."
This commit is contained in:
committed by
Android (Google) Code Review
commit
4f15d0fe80
@@ -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