From 80995574bd3aaec5fb24c0f4b3ac27a9c2069ccb Mon Sep 17 00:00:00 2001 From: Chavi Weingarten Date: Thu, 12 Jan 2023 16:12:10 +0000 Subject: [PATCH] Updated SurfaceSyncGroup API definition. Test: Builds Bug: 237804605 Change-Id: I0c1ebefb123d73df797fe6a6ee9eda456f1f0ccc --- .../com/android/launcher3/taskbar/TaskbarDragController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickstep/src/com/android/launcher3/taskbar/TaskbarDragController.java b/quickstep/src/com/android/launcher3/taskbar/TaskbarDragController.java index 0361c75c38..66a6eb8a88 100644 --- a/quickstep/src/com/android/launcher3/taskbar/TaskbarDragController.java +++ b/quickstep/src/com/android/launcher3/taskbar/TaskbarDragController.java @@ -544,8 +544,8 @@ public class TaskbarDragController extends DragController 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; }