From 81d7a806a6403cd98a0c6dd0ba7288d728382144 Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Tue, 1 May 2012 11:17:02 -0700 Subject: [PATCH] Do not reuse master_clear_gesture_* strings for credential installation confirmation Bug: http://code.google.com/p/android/issues/detail?id=29367 Change-Id: I3b651bc84f22b48d651802115600ab4e256bb3a6 --- res/values/strings.xml | 7 ++++++- src/com/android/settings/CredentialStorage.java | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 7c2865341e5..8ee96e414e9 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -2036,7 +2036,7 @@ Erase everything Draw your unlock pattern - + You need to draw your unlock pattern to confirm a factory data reset. No reset was performed because the System Clear service isn\'t available. @@ -3236,6 +3236,11 @@ Display trusted CA certificates + + Draw your unlock pattern + + You need to draw your unlock pattern to confirm credential installation. + diff --git a/src/com/android/settings/CredentialStorage.java b/src/com/android/settings/CredentialStorage.java index b9a43a1a0f7..c12d06c1540 100644 --- a/src/com/android/settings/CredentialStorage.java +++ b/src/com/android/settings/CredentialStorage.java @@ -338,8 +338,8 @@ public final class CredentialStorage extends Activity { Resources res = getResources(); boolean launched = new ChooseLockSettingsHelper(this) .launchConfirmationActivity(CONFIRM_KEY_GUARD_REQUEST, - res.getText(R.string.master_clear_gesture_prompt), - res.getText(R.string.master_clear_gesture_explanation)); + res.getText(R.string.credentials_install_gesture_prompt), + res.getText(R.string.credentials_install_gesture_explanation)); return launched; }