Merge "Add a new string for the hide settings" into main

This commit is contained in:
Manish Singh
2024-05-03 14:32:08 +00:00
committed by Android (Google) Code Review
2 changed files with 5 additions and 3 deletions

View File

@@ -1259,8 +1259,10 @@
<string name="private_space_auto_lock_after_inactivity">After 5 minutes of inactivity</string>
<!-- Configure auto lock: Value for auto lock configuration to lock private space only after device restarts. [CHAR LIMIT=40] -->
<string name="private_space_auto_lock_after_device_restart">Only after device restarts</string>
<!-- Title for the settings preference and settings page for hide private space when locked setting. [CHAR LIMIT=60] -->
<string name="private_space_hide_page_title">Hide private space when it\'s locked</string>
<!-- Title for the settings page for hiding private space. [CHAR LIMIT=45] -->
<string name="private_space_hide_page_title">Hide private space</string>
<!-- Title for the settings preference for hiding private space when it's locked. [CHAR LIMIT=60] -->
<string name="private_space_hide_when_locked">Hide private space when it\'s locked</string>
<!-- Description for hide Private Space settings page. [CHAR LIMIT=NONE] -->
<string name="private_space_hide_page_summary">To stop other people knowing you have a private space on your device, you can hide it from your apps list</string>
<!-- Header in hide Private Space settings page to access Private Space when hidden. [CHAR LIMIT=60] -->

View File

@@ -25,7 +25,7 @@
<com.android.settingslib.widget.MainSwitchPreference
android:key="hide_when_locked"
android:title="@string/private_space_hide_page_title"
android:title="@string/private_space_hide_when_locked"
settings:controller="com.android.settings.privatespace.HidePrivateSpaceController"/>
<Preference