Add preferences for launch app gesture

This commit is contained in:
MM20
2023-02-24 22:39:32 +01:00
parent c611f9aa8e
commit 77e22e5f2b
7 changed files with 498 additions and 32 deletions
@@ -750,6 +750,7 @@
<string name="preference_gesture_long_press">Long press</string>
<string name="gesture_action_none">None</string>
<string name="gesture_action_open_search">Open search</string>
<string name="gesture_action_launch_app">Launch app</string>
<string name="gesture_action_notifications">Open notification drawer</string>
<string name="gesture_action_lock_screen">Turn off screen</string>
<string name="gesture_action_quick_settings">Open quick settings</string>
@@ -313,12 +313,18 @@ message Settings {
OpenQuickSettings = 4;
OpenRecents = 5;
OpenPowerDialog = 6;
LaunchApp = 7;
}
GestureAction swipe_down = 1;
GestureAction swipe_left = 2;
GestureAction swipe_right = 3;
GestureAction double_tap = 4;
GestureAction long_press = 5;
string swipe_down_app = 6;
string swipe_left_app = 7;
string swipe_right_app = 8;
string double_tap_app = 9;
string long_press_app = 10;
}
GestureSettings gestures = 28;
}