Updated SurfaceSyncGroup API definition.

Test: Builds
Bug: 237804605
Change-Id: I0c1ebefb123d73df797fe6a6ee9eda456f1f0ccc
This commit is contained in:
Chavi Weingarten committed 2023-01-12 16:12:10 +00:00
1 parent f1a43efa0b
commit 80995574bd
1 file changed
+2 -2
@@ -544,8 +544,8 @@ public class TaskbarDragController extends DragController<BaseTaskbarContext> im
transaction.remove(dragSurface);
SurfaceSyncGroup syncGroup = new SurfaceSyncGroup("TaskBarController");
syncGroup.addSyncCompleteCallback(mActivity.getMainExecutor(), transaction::close);
syncGroup.addToSync(viewRoot);
syncGroup.addTransactionToSync(transaction);
syncGroup.add(viewRoot, null /* runnable */);
syncGroup.addTransaction(transaction);
syncGroup.markSyncReady();
mReturnAnimator = null;
}