Cherish:Allow toggling privacy indicators [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
jhonboy121
2022-09-20 20:28:54 +07:00
committed by Hưng Phan
parent 6fd6e25119
commit 31181403b7
2 changed files with 27 additions and 0 deletions

View File

@@ -669,5 +669,13 @@
<string name="vowifi_icon_simple3">Simple3 Icon</string>
<string name="vowifi_icon_vivo">Vivo Icon</string>
<string name="vowifi_icon_margaritov">Margaritov Icon</string>
<!-- Privacy Indicator -->
<string name="mic_camera_privacy_indicator_title">Mic and camera privacy indicator</string>
<string name="mic_camera_privacy_indicator_summary">Show indicator when any app uses mic or camera</string>
<string name="location_privacy_indicator_title">Location privacy indicator</string>
<string name="location_privacy_indicator_summary">Show indicator when any app uses location</string>
<string name="projection_privacy_indicator_title">Media projection privacy indicator</string>
<string name="projection_privacy_indicator_summary">Show indicator when device screen is projected</string>
</resources>

View File

@@ -127,6 +127,25 @@
android:summary="@string/roaming_indicator_icon_summary"
android:defaultValue="false" />
<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="true" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="enable_projection_privacy_indicator"
android:title="@string/projection_privacy_indicator_title"
android:summary="@string/projection_privacy_indicator_summary"
android:defaultValue="true" />
<!-- Birghtness control -->
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="status_bar_brightness_control"