Skip to content

Commit f252b8f

Browse files
idoybhJayant-Deshmukh
authored andcommitted
base: Add a toggle for long press on navbar to search [1/3]
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
1 parent ebdc418 commit f252b8f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

core/java/android/provider/Settings.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6361,6 +6361,13 @@ public static void setShowGTalkServiceStatusForUser(ContentResolver cr, boolean
63616361
*/
63626362
public static final String NOTIFICATION_SOUND_VIB_SCREEN_ON = "notification_sound_vib_screen_on";
63636363

6364+
/**
6365+
* Whether long press on navbar gesture is enabled
6366+
* @hide
6367+
*/
6368+
@Readable
6369+
public static final String NAVBAR_LONG_PRESS_GESTURE = "navbar_long_press_gesture";
6370+
63646371
/**
63656372
* Keys we no longer back up under the current schema, but want to continue to
63666373
* process when restoring historical backup datasets.

data/etc/com.android.launcher3.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@
2727
<permission name="android.permission.STOP_APP_SWITCHES"/>
2828
<permission name="android.permission.ACCESS_SHORTCUTS"/>
2929
<permission name="android.permission.ACCESS_HIDDEN_PROFILES_FULL"/>
30+
<permission name="android.permission.ACCESS_CONTEXTUAL_SEARCH"/>
3031
</privapp-permissions>
3132
</permissions>

0 commit comments

Comments
 (0)