diff options
author | Amith Yamasani <yamasani@google.com> | 2011-07-22 12:16:16 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2011-07-22 12:16:16 -0700 |
commit | 58bca8f15fbdc9e621b3c259a50ecf41c00e64c3 (patch) | |
tree | 15f134bc75f329f1172b51c13ae9da8e39220edf /src/com | |
parent | 8374a2db64f772c5e934ccd2e47f0df4b5928012 (diff) | |
download | packages_apps_settings-58bca8f15fbdc9e621b3c259a50ecf41c00e64c3.zip packages_apps_settings-58bca8f15fbdc9e621b3c259a50ecf41c00e64c3.tar.gz packages_apps_settings-58bca8f15fbdc9e621b3c259a50ecf41c00e64c3.tar.bz2 |
Fix lock screen timeout summary text on first use.
The lock screen timeout summary is inconsistent with the popup list
when Security settings is launched for the first time. This fixes
the inconsistency.
Bug: 5064223
Change-Id: I8cbd7c06233faddd91ab29a1e046112a6f910935
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/settings/SecuritySettings.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/SecuritySettings.java b/src/com/android/settings/SecuritySettings.java index 057e5de..9a83311 100644 --- a/src/com/android/settings/SecuritySettings.java +++ b/src/com/android/settings/SecuritySettings.java @@ -237,7 +237,7 @@ public class SecuritySettings extends SettingsPreferenceFragment private void updateLockAfterPreferenceSummary() { // Update summary message with current value long currentTimeout = Settings.Secure.getLong(getContentResolver(), - Settings.Secure.LOCK_SCREEN_LOCK_AFTER_TIMEOUT, 0); + Settings.Secure.LOCK_SCREEN_LOCK_AFTER_TIMEOUT, 5000); final CharSequence[] entries = mLockAfter.getEntries(); final CharSequence[] values = mLockAfter.getEntryValues(); int best = 0; |