ExternalStorageProvider: Conditionally remove SAF restrictions [2/2]
* Write title and summary based on NoStorageRestrict module's descriptions. Ref: https://github.com/DanGLES3/NoStorageRestrict Change-Id: Ie62441f2c8e7ebaca3612100c79e7c24ebfb5b0e Signed-off-by: someone5678 <someone5678@users.noreply.github.com>
This commit is contained in:
@@ -193,4 +193,8 @@
|
||||
<!-- Hide screen capture status -->
|
||||
<string name="hide_screen_capture_status_title">Hide screen capture status</string>
|
||||
<string name="hide_screen_capture_status_summary">Hide screen capture and screen record status from all applications. Can be convenient in some cases but may lead to privacy leaks. Need to restart applications for the change to take effect.</string>
|
||||
|
||||
<!-- No storage restrict -->
|
||||
<string name="no_storage_restrict_title">No storage restrict</string>
|
||||
<string name="no_storage_restrict_summary">Remove the restriction when selecting folders through Storage Access Framework. Can be convenient in some cases but may lead to privacy leaks.</string>
|
||||
</resources>
|
||||
|
||||
@@ -245,4 +245,11 @@
|
||||
android:summary="@string/hide_screen_capture_status_summary"
|
||||
android:defaultValue="false"/>
|
||||
|
||||
<org.evolution.settings.preferences.GlobalSettingSwitchPreference
|
||||
android:order="96"
|
||||
android:key="no_storage_restrict"
|
||||
android:title="@string/no_storage_restrict_title"
|
||||
android:summary="@string/no_storage_restrict_summary"
|
||||
android:defaultValue="false"/>
|
||||
|
||||
</PreferenceScreen>
|
||||
|
||||
@@ -131,6 +131,13 @@
|
||||
android:summary="@string/hide_screen_capture_status_summary"
|
||||
android:defaultValue="false"/>
|
||||
|
||||
<org.evolution.settings.preferences.GlobalSettingSwitchPreference
|
||||
android:order="96"
|
||||
android:key="no_storage_restrict"
|
||||
android:title="@string/no_storage_restrict_title"
|
||||
android:summary="@string/no_storage_restrict_summary"
|
||||
android:defaultValue="false"/>
|
||||
|
||||
<!-- work profile security section -->
|
||||
<PreferenceCategory
|
||||
android:order="310"
|
||||
|
||||
Reference in New Issue
Block a user