diff --git a/res/values/strings.xml b/res/values/strings.xml index 3e097b87726..25212380e74 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1280,6 +1280,8 @@ 5 minutes after screen timeout Only after device restarts + + If you use a different lock for your private space, you may need to verify it\u2019s you to open apps in your private space. Hide private space diff --git a/src/com/android/settings/privatespace/autolock/AutoLockSettingsFragment.java b/src/com/android/settings/privatespace/autolock/AutoLockSettingsFragment.java index cb332d1e515..decca843e29 100644 --- a/src/com/android/settings/privatespace/autolock/AutoLockSettingsFragment.java +++ b/src/com/android/settings/privatespace/autolock/AutoLockSettingsFragment.java @@ -31,6 +31,7 @@ import com.android.settings.R; import com.android.settings.privatespace.PrivateSpaceMaintainer; import com.android.settings.widget.RadioButtonPickerFragment; import com.android.settingslib.widget.CandidateInfo; +import com.android.settingslib.widget.FooterPreference; import com.android.settingslib.widget.TopIntroPreference; import java.util.ArrayList; @@ -76,7 +77,10 @@ public class AutoLockSettingsFragment extends RadioButtonPickerFragment { protected void addStaticPreferences(PreferenceScreen screen) { final TopIntroPreference introPreference = new TopIntroPreference(screen.getContext()); introPreference.setTitle(R.string.private_space_auto_lock_page_summary); + final FooterPreference footerPreference = new FooterPreference(screen.getContext()); + footerPreference.setSummary(R.string.private_space_auto_lock_footer_message); screen.addPreference(introPreference); + screen.addPreference(footerPreference); } @Override