diff --git a/res/values/strings.xml b/res/values/strings.xml index 86395fec426..a11c96c7f07 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1257,8 +1257,8 @@ You can lock your private space automatically if you haven\’t used your device for a period of time Every time device locks - - After 5 minutes of inactivity + + 5 minutes after screen timeout Only after device restarts diff --git a/tests/unit/src/com/android/settings/privatespace/autolock/AutoLockPreferenceControllerTest.java b/tests/unit/src/com/android/settings/privatespace/autolock/AutoLockPreferenceControllerTest.java index 3a605ea1727..fb2cdddd349 100644 --- a/tests/unit/src/com/android/settings/privatespace/autolock/AutoLockPreferenceControllerTest.java +++ b/tests/unit/src/com/android/settings/privatespace/autolock/AutoLockPreferenceControllerTest.java @@ -127,7 +127,7 @@ public class AutoLockPreferenceControllerTest { Settings.Secure.PRIVATE_SPACE_AUTO_LOCK, Settings.Secure.PRIVATE_SPACE_AUTO_LOCK_AFTER_INACTIVITY); assertThat(mAutoLockPreferenceController.getSummary().toString()) - .isEqualTo("After 5 minutes of inactivity"); + .isEqualTo("5 minutes after screen timeout"); } /**