mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Fix triggering One-handed mode introduces gesture conflict issues
(2/n) Define a new larger gesture height instead of replacing existing navigation_bar_gesture_height with RRO. Bug: 159580663 Test: manual Change-Id: Icdd70b28d9b2629171fb60a0c9d603f6a69f076a
This commit is contained in:
@@ -25,6 +25,8 @@ public class ResourceUtils {
|
||||
public static final int INVALID_RESOURCE_HANDLE = -1;
|
||||
public static final String NAVBAR_LANDSCAPE_LEFT_RIGHT_SIZE = "navigation_bar_width";
|
||||
public static final String NAVBAR_BOTTOM_GESTURE_SIZE = "navigation_bar_gesture_height";
|
||||
public static final String NAVBAR_BOTTOM_GESTURE_LARGER_SIZE =
|
||||
"navigation_bar_gesture_larger_height";
|
||||
|
||||
public static int getNavbarSize(String resName, Resources res) {
|
||||
return getDimenByName(resName, res, DEFAULT_NAVBAR_VALUE);
|
||||
|
||||
Reference in New Issue
Block a user