Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 037d696e authored by Adam Cohen's avatar Adam Cohen Committed by android-build-merger
Browse files

Merge "Make the back longpress timeout a system property" into qt-r1-dev am: 55d38216

am: cd98f419

Change-Id: I903da89d5c850e69274bca9f85a37a215b67e33d
parents 6ee0f72a cd98f419
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ import android.hardware.input.InputManager;
import android.os.Looper;
import android.os.RemoteException;
import android.os.SystemClock;
import android.os.SystemProperties;
import android.util.Log;
import android.util.MathUtils;
import android.view.Gravity;
@@ -66,7 +67,8 @@ import java.util.concurrent.Executor;
public class EdgeBackGestureHandler implements DisplayListener {

    private static final String TAG = "EdgeBackGestureHandler";
    private static final int MAX_LONG_PRESS_TIMEOUT = 250;
    private static final int MAX_LONG_PRESS_TIMEOUT = SystemProperties.getInt(
            "gestures.back_timeout", 250);

    private final IPinnedStackListener.Stub mImeChangedListener = new IPinnedStackListener.Stub() {
        @Override