summaryrefslogtreecommitdiff
path: root/quickstep
diff options
context:
space:
mode:
authorBenno Lin <bennolin@google.com>2021-09-03 20:18:34 +0000
committerBenno Lin <bennolin@google.com>2022-02-15 01:48:45 +0000
commit7738cac4241df65685caf19af06a90d90643f1aa (patch)
tree1f145b6d44e8751dd051b15176f3b8a1354f57fe /quickstep
parent40570799b336560d0ec5dafbfced1ff5c24f7382 (diff)
downloadLauncher3-7738cac4241df65685caf19af06a90d90643f1aa.tar.gz
Implemnet methods to drag a icon to given Workspace cell
The CL implements public methods to drag an Icon from AllApps to a given cell in the workspace. Bug: 199120092 Test: Launcher3Tests:com.android.launcher3.ui.TaplTestsLauncher3#testDragAppIconToWorkspaceCell Test: https://android-build.googleplex.com/builds/abtd/run/L89300000953052361 Test: https://android-build.googleplex.com/builds/abtd/run/L44500000953013792 Change-Id: Ife16d1f1b55b809763dd40f5afee6711049a4729
Diffstat (limited to 'quickstep')
-rw-r--r--quickstep/src/com/android/quickstep/QuickstepTestInformationHandler.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/quickstep/src/com/android/quickstep/QuickstepTestInformationHandler.java b/quickstep/src/com/android/quickstep/QuickstepTestInformationHandler.java
index ae2583b515..4c570f1d95 100644
--- a/quickstep/src/com/android/quickstep/QuickstepTestInformationHandler.java
+++ b/quickstep/src/com/android/quickstep/QuickstepTestInformationHandler.java
@@ -5,6 +5,8 @@ import android.content.Context;
import android.graphics.Rect;
import android.os.Bundle;
+import androidx.annotation.Nullable;
+
import com.android.launcher3.LauncherState;
import com.android.launcher3.testing.TestInformationHandler;
import com.android.launcher3.testing.TestProtocol;
@@ -21,7 +23,7 @@ public class QuickstepTestInformationHandler extends TestInformationHandler {
}
@Override
- public Bundle call(String method, String arg) {
+ public Bundle call(String method, String arg, @Nullable Bundle extras) {
final Bundle response = new Bundle();
switch (method) {
case TestProtocol.REQUEST_ALL_APPS_TO_OVERVIEW_SWIPE_HEIGHT: {
@@ -82,7 +84,7 @@ public class QuickstepTestInformationHandler extends TestInformationHandler {
}
}
- return super.call(method, arg);
+ return super.call(method, arg, extras);
}
@Override