mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
Making navigation mode listener a singleton so that the change is dispatched
everywhere synchronously. Change-Id: Iee8c5957d78dfad3fb03e814de0367adcaa0c98b
This commit is contained in:
@@ -22,6 +22,7 @@ import android.os.CancellationSignal;
|
||||
|
||||
import com.android.launcher3.Launcher;
|
||||
import com.android.launcher3.LauncherStateManager.StateHandler;
|
||||
import com.android.launcher3.dragndrop.DragLayer;
|
||||
import com.android.launcher3.util.TouchController;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
@@ -33,7 +34,9 @@ public class UiFactory {
|
||||
launcher.getDragController(), new AllAppsSwipeController(launcher)};
|
||||
}
|
||||
|
||||
public static void setOnTouchControllersChangedListener(Context context, Runnable listener) { }
|
||||
public static Runnable enableLiveTouchControllerChanges(DragLayer dl) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static StateHandler[] getStateHandler(Launcher launcher) {
|
||||
return new StateHandler[] {
|
||||
|
||||
Reference in New Issue
Block a user