Cherish: Screen Off FOD (2/2)

Co-authored-by: TheScarastic <warabhishek@gmail.com>
Change-Id: I341b1dcbc11368e56f6e56d447d5cc7e7ce8d1c1
Signed-off-by: Ayan Mukherjee <mukherjeeayan725@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
AshutoshSundresh
2021-02-23 08:45:05 +00:00
committed by Hưng Phan
parent af65a3a287
commit fcd07ad550
3 changed files with 35 additions and 1 deletions

View File

@@ -1132,4 +1132,9 @@
<!-- Qs Clock -->
<string name="oos_qsclock">Qs clock</string>
<string name="oos_qsclock_summary">Display an oos like clock on qs</string>
<!-- Screen off fod -->
<string name="lockscreen_fod_category">Fingerprint On Display</string>
<string name="fod_gesture_title">Screen off FOD</string>
<string name="fod_gesture_summary">Allows unlocking the device without having to wake up the screen first</string>
</resources>

View File

@@ -269,6 +269,18 @@
android:title="@string/keyguard_show_battery_title"
android:summary="@string/keyguard_show_battery_summary"
android:fragment="com.cherish.settings.fragments.KeygaurdBatteryBar" />
<PreferenceCategory
android:key="fod_category"
android:title="@string/lockscreen_fod_category">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="fod_gesture"
android:title="@string/fod_gesture_title"
android:summary="@string/fod_gesture_summary"
android:defaultValue="false" />
</PreferenceCategory>
</PreferenceCategory>
</PreferenceScreen>