mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Reduce steps for goHome()
The goHome gesture is slow enough sometimes that it gets confused with an overview gesture. Reducing the step count should resolve this (verified in atest and haven't had it fail after changing this) Flag: NONE Bug: 336606166 Test: TaplTestsTrackpad#switchToOverview Change-Id: I7ad388968205addb363cfd9ff4b7eefece170d1b
This commit is contained in:
@@ -108,7 +108,7 @@ import java.util.stream.Collectors;
|
||||
public final class LauncherInstrumentation {
|
||||
|
||||
private static final String TAG = "Tapl";
|
||||
private static final int ZERO_BUTTON_STEPS_FROM_BACKGROUND_TO_HOME = 15;
|
||||
private static final int ZERO_BUTTON_STEPS_FROM_BACKGROUND_TO_HOME = 5;
|
||||
private static final int GESTURE_STEP_MS = 16;
|
||||
|
||||
static final Pattern EVENT_PILFER_POINTERS = Pattern.compile("pilferPointers");
|
||||
|
||||
Reference in New Issue
Block a user