mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
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
This commit is contained in:
@@ -27,6 +27,7 @@ import android.system.Os;
|
||||
import android.view.View;
|
||||
|
||||
import androidx.annotation.Keep;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.android.launcher3.LauncherAppState;
|
||||
import com.android.launcher3.LauncherSettings;
|
||||
@@ -124,7 +125,7 @@ public class DebugTestInformationHandler 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_APP_LIST_FREEZE_FLAGS: {
|
||||
@@ -219,7 +220,7 @@ public class DebugTestInformationHandler extends TestInformationHandler {
|
||||
}
|
||||
|
||||
default:
|
||||
return super.call(method, arg);
|
||||
return super.call(method, arg, extras);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user