From 6b6d9fd979e9e86c408df59e37b0a38d12df6751 Mon Sep 17 00:00:00 2001 From: yuemingw Date: Thu, 24 Aug 2017 15:09:26 +0100 Subject: [PATCH] Modify notification string. Bug: 30432840 Test: Reproduced the problem by clicking 'Install from SD card' and the new notification string appears instead of the old one. Change-Id: I38a6fc6212aa283f8a899c28db81d8dae4245396 --- res/values/strings.xml | 7 ++++--- .../android/settings/security/ConfigureKeyGuardDialog.java | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 4ac6977397d..e2df885af6b 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -5218,9 +5218,10 @@ Credential storage couldn\u2019t be erased. Credential storage is enabled. - - You need to set a lock screen PIN or password before you can use credential storage. - + + Before you can use credential storage, your device need to have a secure lock screen + + SET LOCK Apps with usage access diff --git a/src/com/android/settings/security/ConfigureKeyGuardDialog.java b/src/com/android/settings/security/ConfigureKeyGuardDialog.java index 3c893407698..dfe3bbe314e 100644 --- a/src/com/android/settings/security/ConfigureKeyGuardDialog.java +++ b/src/com/android/settings/security/ConfigureKeyGuardDialog.java @@ -51,7 +51,7 @@ public class ConfigureKeyGuardDialog extends InstrumentedDialogFragment return new AlertDialog.Builder(getActivity()) .setTitle(android.R.string.dialog_alert_title) .setMessage(R.string.credentials_configure_lock_screen_hint) - .setPositiveButton(android.R.string.ok, this) + .setPositiveButton(R.string.credentials_configure_lock_screen_button, this) .setNegativeButton(android.R.string.cancel, this) .create(); }