vendor: Enable double tap to sleep

* Note: Settings page has not been pushed to AOSP yet we are currently using
  reverse engineered one from Pixel stock rom
This commit is contained in:
aswin7469
2025-11-23 03:02:33 +05:30
committed by Joey
parent 58aee5ff97
commit 0cfa2358f5
2 changed files with 11 additions and 0 deletions

View File

@@ -33,4 +33,9 @@
<string name="config_defaultContextualSearchKey">omni.entry_point</string>
<string name="config_defaultContextualSearchLegacyEnabled">omni.enable_vis</string>
<string name="config_defaultContextualSearchPackageName" translatable="false">com.google.android.googlequicksearchbox</string>
<!-- Whether device supports double tap to sleep. This will allow the user to enable/disable
double tap gestures in non-action areas in the lock screen and launcher workspace to go to
sleep. -->
<bool name="config_supportDoubleTapSleep">true</bool>
</resources>

View File

@@ -0,0 +1,6 @@
flag_value {
package: "com.android.systemui"
name: "double_tap_to_sleep"
state: ENABLED
permission: READ_ONLY
}