Cherish: Allow toggling camera/mic privacy indicator [2/2]

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Pranav Vashi
2022-01-17 21:20:35 +05:30
committed by Hưng Phan
parent 23549703f6
commit 4d53fbb8d2
2 changed files with 13 additions and 3 deletions

View File

@@ -489,9 +489,12 @@
<string name="custom_fp_icon_summary">Enable custom UDFPS Icon from files</string>
<string name="custom_fp_select_title">Select Custom UDFPS Icon</string>
<string name="custom_fp_select_summary">Select custom image from your saved files or gallery</string>
<!-- Location privacy indicator -->
<string name="location_privacy_indicator_title">Show privacy indicator for location</string>
<!-- Privacy indicators -->
<string name="mic_camera_privacy_indicator_title">Mic and camera privacy indicator</string>
<string name="mic_camera_privacy_indicator_summary">Show separate indicator when an any app uses mic or camera</string>
<string name="location_privacy_indicator_title">Location privacy indicator</string>
<string name="location_privacy_indicator_summary">Show separate indicator when an any app uses location</string>
<!-- Sb Icon Style -->
<string name="statusbar_icons_style">Colored Statusbar Icons</string>

View File

@@ -50,8 +50,15 @@
android:defaultValue="true"/>
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="enable_camera_privacy_indicator"
android:title="@string/mic_camera_privacy_indicator_title"
android:summary="@string/mic_camera_privacy_indicator_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="enable_location_privacy_indicator"
android:title="@string/location_privacy_indicator_title"
android:summary="@string/location_privacy_indicator_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference