[SQUASH] Bring back Udfps icons and Animations [2/3]

Change-Id: I21db60139dceaa595324a2a35f05ed39006eec66
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

Bring back icon shapes, icon packs, fonts Customisation

Signed-off-by: sb6596 <shubhamprince111@gmail.com>
Change-Id: I0a80a90faa83d94ec8652fc48faee8e1ae710f09
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: SuperDroidBond <superdroidbond@yahoo.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
SagarMakhar
2021-12-21 16:24:09 +00:00
committed by Hưng Phan
parent ae82e06f22
commit 72f3241d7d
5 changed files with 522 additions and 2 deletions

View File

@@ -464,6 +464,21 @@
<string name="volume_steps_system_title">Volume steps: System</string>
<string name="volume_steps_voice_call_title">Volume steps: Voice Call</string>
<string name="volume_steps_reset">Reset</string>
<!-- Udfps animations -->
<string name="udfps_category">Udfps</string>
<string name="udfps_recog_animation">Udfps animation</string>
<string name="udfps_recog_animation_summary">Shows an animation while reading your finger</string>
<string name="udfps_recog_animation_effect_title">Udfps animation effect</string>
<string name="udfps_recog_animation_effect_summary">Choose animation effect</string>
<!-- Udfps icon picker -->
<string name="udfps_icon_picker_title">Udfps icon picker</string>
<string name="udfps_icon_picker_summary">Choose your favorite fingerprint icon</string>
<!-- Udfps Haptic Feedback -->
<string name="udfps_haptic_feedback_title">FOD haptic feedback</string>
<string name="udfps_haptic_feedback_summary">Vibrate when touching FOD icon</string>
<!-- Location privacy indicator -->
<string name="location_privacy_indicator_title">Show privacy indicator for location</string>

View File

@@ -85,9 +85,33 @@
</PreferenceCategory> -->
<PreferenceCategory
android:key="udfps_category"
android:title="@string/udfps_category">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="udfps_haptic_feedback"
android:title="@string/udfps_haptic_feedback_title"
android:summary="@string/udfps_haptic_feedback_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="screen_off_fod"
android:title="@string/screen_off_fod_title"
android:summary="@string/screen_off_fod_summary"
android:defaultValue="true" />
<Preference
android:key="udfps_icon_picker"
android:title="@string/udfps_icon_picker_title"
android:summary="@string/udfps_icon_picker_summary"
android:fragment="com.cherish.settings.fragments.UdfpsIconPicker" />
<Preference
android:key="udfps_recognizing_animation_preview"
android:title="@string/udfps_recog_animation_effect_title"
android:summary="@string/udfps_recog_animation_effect_summary"
android:fragment="com.cherish.settings.fragments.UdfpsAnimation"/>
</PreferenceCategory>
</PreferenceScreen>