From 26b46882cbeb852bbe4fcd7a563a199c7c054823 Mon Sep 17 00:00:00 2001 From: Andres Morales Date: Wed, 19 Nov 2014 13:55:44 -0800 Subject: [PATCH] Update enable oem unlock warning updating the strings from bug previously fixed Bug:18227644 Change-Id: I2b651c807df7585f4d08a26a2a09895100ae2cd6 --- res/values/strings.xml | 10 +++++----- src/com/android/settings/DevelopmentSettings.java | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 6950aaf4d18..213d0502833 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -3376,17 +3376,17 @@ Capture all bluetooth HCI packets in a file - Enable OEM unlock + OEM unlocking - Allow the device to be OEM unlocked + Allow the bootloader to be unlocked Enter your PIN Enter your device PIN to enable OEM unlock - Warning - - Enabling OEM unlock disables theft protection features on this device and may void your warranty. Continue? + Allow OEM unlocking? + + WARNING: Device protection features will not work on this device while this setting is turned on. diff --git a/src/com/android/settings/DevelopmentSettings.java b/src/com/android/settings/DevelopmentSettings.java index 4af2baf47d2..dc0a5e1a5ce 100644 --- a/src/com/android/settings/DevelopmentSettings.java +++ b/src/com/android/settings/DevelopmentSettings.java @@ -1291,7 +1291,7 @@ public class DevelopmentSettings extends SettingsPreferenceFragment new AlertDialog.Builder(getActivity()) .setTitle(R.string.confirm_enable_oem_unlock_title) .setMessage(R.string.confirm_enable_oem_unlock_text) - .setPositiveButton(R.string.yes, onConfirmListener) + .setPositiveButton(R.string.enable_text, onConfirmListener) .setNegativeButton(android.R.string.cancel, null) .create() .show();