[Android] Remove useless parental control setting

Nicolas Pomepuy git at videolan.org
Wed Jul 12 08:30:36 UTC 2023


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Jun 27 07:44:10 2023 +0200| [63ca0751c69dfa3dc8f348e7723fb6e596baa3d8] | committer: Duncan McNamara

Remove useless parental control setting

> https://code.videolan.org/videolan/vlc-android/commit/63ca0751c69dfa3dc8f348e7723fb6e596baa3d8
---

 application/resources/src/main/res/values/strings.xml          |  2 +-
 .../vlc-android/res/xml/preferences_parental_control.xml       | 10 ----------
 2 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/application/resources/src/main/res/values/strings.xml b/application/resources/src/main/res/values/strings.xml
index e848dbbf9a..b489f42d5a 100644
--- a/application/resources/src/main/res/values/strings.xml
+++ b/application/resources/src/main/res/values/strings.xml
@@ -966,7 +966,7 @@
     <string name="audio_limit">Limit audio volume</string>
     <string name="audio_limit_summary">Prevent audio boost and limit volume to 50%</string>
     <string name="safe_mode">Safe mode</string>
-    <string name="safe_mode_summary">When activated, files cannot be deleted, playlist modified or settings accessed without entering the pin</string>
+    <string name="safe_mode_summary">When activated, files cannot be deleted or playlist modified without entering the pin</string>
     <string name="safe_mode_pin">Enter your PIN</string>
     <string name="safe_mode_new_pin">Enter your new PIN</string>
     <string name="safe_mode_re_pin">Re-enter your PIN</string>
diff --git a/application/vlc-android/res/xml/preferences_parental_control.xml b/application/vlc-android/res/xml/preferences_parental_control.xml
index bd249623f9..5a9267cb4f 100644
--- a/application/vlc-android/res/xml/preferences_parental_control.xml
+++ b/application/vlc-android/res/xml/preferences_parental_control.xml
@@ -10,24 +10,15 @@
             android:title="@string/pin_code_reason_modify"
             app:iconSpaceReserved="false"
             app:singleLineTitle="false" />
-    <CheckBoxPreference
-            android:defaultValue="false"
-            android:key="parental_control_enabled"
-            android:summary="@string/parental_control_summary"
-            android:title="@string/parental_control"
-            app:iconSpaceReserved="false"
-            app:singleLineTitle="false" />
 
     <CheckBoxPreference
             android:defaultValue="false"
-            android:dependency="parental_control_enabled"
             android:key="restrict_settings"
             android:title="@string/restrict_settings"
             app:iconSpaceReserved="false"
             app:singleLineTitle="false" />
     <CheckBoxPreference
             android:defaultValue="false"
-            android:dependency="parental_control_enabled"
             android:key="safe_mode"
             android:summary="@string/safe_mode_summary"
             android:title="@string/safe_mode"
@@ -35,7 +26,6 @@
             app:singleLineTitle="false" />
     <CheckBoxPreference
             android:defaultValue="false"
-            android:dependency="parental_control_enabled"
             android:key="audio_limit"
             android:summary="@string/audio_limit_summary"
             android:title="@string/audio_limit"



More information about the Android mailing list