mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 17:06:49 +00:00
Refactor SwipeDetector to track both axes
Existing clients now use the SingleAxisSwipeDetector subclass. A followup CL will add BothAxesSwipeDetector, whose first client will be the quick switch from home controller. Bug: 126596417 Change-Id: I54c71088cfe99ff28cdc719a1eb7a7d06ac95d2d
This commit is contained in:
@@ -34,7 +34,7 @@ public class AllAppsSwipeController extends AbstractStateChangeTouchController {
|
||||
private MotionEvent mTouchDownEvent;
|
||||
|
||||
public AllAppsSwipeController(Launcher l) {
|
||||
super(l, SwipeDetector.VERTICAL);
|
||||
super(l, SingleAxisSwipeDetector.VERTICAL);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user