diff --git a/res/values/strings.xml b/res/values/strings.xml index 350798d4002..6d4c54db63a 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -737,35 +737,27 @@ Encrypt phone - - - Require a numeric PIN or password to decrypt your tablet each time you - power it on - - - Require a numeric PIN or password to decrypt your phone each time you - power it on Encrypted You can encrypt your accounts, settings, downloaded apps and their data, - media, and other files. Once you encrypt your tablet, you need to type a numeric PIN - or password to decrypt it each time you power it on. You can\'t decrypt your tablet - except by performing a factory data reset, erasing all your data.\n\nEncryption takes - an hour or more. You must start with a charged battery and keep your tablet plugged in - until encryption is complete. If you interrupt the encryption process, you will lose - some or all of your data. + media, and other files. After you encrypt your tablet, assuming you\’ve set up a screen lock + (that is, a pattern or numeric PIN or password), you\'ll need to unlock the screen to decrypt + the tablet every time you power it on. The only other way to decrypt is to perform a factory + data reset, erasing all your data.\n\nEncryption takes an hour or more. You must start with + a charged battery and keep your tablet plugged in throughout the process. If you interrupt, + you\’ll lose some or all of your data You can encrypt your accounts, settings, downloaded apps and their data, - media, and other files. Once you encrypt your phone, you need to type a numeric PIN or - password to decrypt it each time you power it on. You can\'t decrypt your phone - except by performing a factory data reset, erasing all your data.\n\nEncryption takes - an hour or more. You must start with a charged battery and keep your phone plugged in - until encryption is complete. If you interrupt the encryption process, you will lose - some or all of your data. + media, and other files. After you encrypt your phone, assuming you’ve set up a screen lock + (that is, a pattern or numeric PIN or password), you\'ll need to unlock the screen to decrypt + the phone every time you power it on. The only other way to decrypt is to perform a factory + data reset, erasing all your data.\n\nEncryption takes an hour or more. You must start with + a charged battery and keep your phone plugged in throughout the process. If you interrupt, + you\’ll lose some or all of your data. Encrypt tablet @@ -4364,6 +4356,10 @@ 4G MAC address Type password to decrypt storage + + Enter your PIN to decrypt storage + + Draw your pattern to decrypt storage Try again. diff --git a/res/xml/security_settings_unencrypted.xml b/res/xml/security_settings_unencrypted.xml index 00213df8a86..947317c2087 100644 --- a/res/xml/security_settings_unencrypted.xml +++ b/res/xml/security_settings_unencrypted.xml @@ -23,7 +23,6 @@ diff --git a/src/com/android/settings/CryptKeeper.java b/src/com/android/settings/CryptKeeper.java index 1efe98f79b8..8392625a32f 100644 --- a/src/com/android/settings/CryptKeeper.java +++ b/src/com/android/settings/CryptKeeper.java @@ -388,9 +388,11 @@ public class CryptKeeper extends Activity implements TextView.OnEditorActionList public void onPostExecute(java.lang.Void v) { if(type == StorageManager.CRYPT_TYPE_PIN) { setContentView(R.layout.crypt_keeper_pin_entry); + ((TextView)findViewById(R.id.status)).setText(R.string.enter_pin); } else if (type == StorageManager.CRYPT_TYPE_PATTERN) { setContentView(R.layout.crypt_keeper_pattern_entry); setBackFunctionality(false); + ((TextView)findViewById(R.id.status)).setText(R.string.enter_pattern); } else { setContentView(R.layout.crypt_keeper_password_entry); }