Cherish:Unlock keystore with fingerprint after reboot (2/2)

This commit is contained in:
xyyx
2019-10-08 15:28:23 +02:00
committed by Hưng Phan
parent aa7248a139
commit 76135463ad
3 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:height="24dp"
android:width="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path android:fillColor="?android:attr/colorControlNormal" android:pathData="M7,14A2,2 0 0,1 5,12A2,2 0 0,1 7,10A2,2 0 0,1 9,12A2,2 0 0,1 7,14M12.65,10C11.83,7.67 9.61,6 7,6A6,6 0 0,0 1,12A6,6 0 0,0 7,18C9.61,18 11.83,16.33 12.65,14H17V18H21V14H23V10H12.65Z" />
</vector>

View File

@@ -677,4 +677,8 @@
<string name="charging_animation_title">Charging animation</string> <string name="charging_animation_title">Charging animation</string>
<string name="charging_animation_summary">Display an animation when the device is plugged in</string> <string name="charging_animation_summary">Display an animation when the device is plugged in</string>
<!-- Fingerprint unlock keystore -->
<string name="fp_unlock_keystore_title">Fingerprint unlock</string>
<string name="fp_unlock_keystore_summary">Unlock device with fingerprint after reboot without PIN/Password/Pattern\nNote: at your own risk!</string>
</resources> </resources>

View File

@@ -115,4 +115,11 @@
android:summary="@string/fprint_sucess_vib_summary" android:summary="@string/fprint_sucess_vib_summary"
android:persistent="false" /> android:persistent="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="fp_unlock_keystore"
android:icon="@drawable/ic_unlock"
android:title="@string/fp_unlock_keystore_title"
android:summary="@string/fp_unlock_keystore_summary"
android:defaultValue="false" />
</PreferenceScreen> </PreferenceScreen>