Fixing decryption messaging
Messaging currently implies encryption only works with PIN or password (K functionality). Now that in L we support encryption with PIN, pattern, password or swipe/none, we need to update the strings accordingly. @bug 14257692 @bug 13674657 Change-Id: I055db1289c2c2750d217b50b653a7f36ff304aca
This commit is contained in:
@@ -737,35 +737,27 @@
|
|||||||
<!-- Title of the preferences item to control encryption -->
|
<!-- Title of the preferences item to control encryption -->
|
||||||
<string name="crypt_keeper_encrypt_title" product="default">Encrypt phone</string>
|
<string name="crypt_keeper_encrypt_title" product="default">Encrypt phone</string>
|
||||||
|
|
||||||
<!-- Summary of the preferences item to control encryption, when encryption is inactive -->
|
|
||||||
<string name="crypt_keeper_encrypt_summary" product="tablet">
|
|
||||||
Require a numeric PIN or password to decrypt your tablet each time you
|
|
||||||
power it on</string>
|
|
||||||
<!-- Summary of the preferences item to control encryption, when encryption is inactive -->
|
|
||||||
<string name="crypt_keeper_encrypt_summary" product="default">
|
|
||||||
Require a numeric PIN or password to decrypt your phone each time you
|
|
||||||
power it on</string>
|
|
||||||
<!-- Summary of the preferences item to control encryption, when encryption is active -->
|
<!-- Summary of the preferences item to control encryption, when encryption is active -->
|
||||||
<string name="crypt_keeper_encrypted_summary">Encrypted</string>
|
<string name="crypt_keeper_encrypted_summary">Encrypted</string>
|
||||||
|
|
||||||
<!-- Informational text in the first confirmation screen before starting device encryption -->
|
<!-- Informational text in the first confirmation screen before starting device encryption -->
|
||||||
<string name="crypt_keeper_desc" product="tablet">
|
<string name="crypt_keeper_desc" product="tablet">
|
||||||
You can encrypt your accounts, settings, downloaded apps and their data,
|
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
|
media, and other files. After you encrypt your tablet, assuming you\’ve set up a screen lock
|
||||||
or password to decrypt it each time you power it on. You can\'t decrypt your tablet
|
(that is, a pattern or numeric PIN or password), you\'ll need to unlock the screen to decrypt
|
||||||
except by performing a factory data reset, erasing all your data.\n\nEncryption takes
|
the tablet every time you power it on. The only other way to decrypt is to perform a factory
|
||||||
an hour or more. You must start with a charged battery and keep your tablet plugged in
|
data reset, erasing all your data.\n\nEncryption takes an hour or more. You must start with
|
||||||
until encryption is complete. If you interrupt the encryption process, you will lose
|
a charged battery and keep your tablet plugged in throughout the process. If you interrupt,
|
||||||
some or all of your data.</string>
|
you\’ll lose some or all of your data</string>
|
||||||
<!-- Informational text in the first confirmation screen before starting device encryption -->
|
<!-- Informational text in the first confirmation screen before starting device encryption -->
|
||||||
<string name="crypt_keeper_desc" product="default">
|
<string name="crypt_keeper_desc" product="default">
|
||||||
You can encrypt your accounts, settings, downloaded apps and their 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
|
media, and other files. After you encrypt your phone, assuming you’ve set up a screen lock
|
||||||
password to decrypt it each time you power it on. You can\'t decrypt your phone
|
(that is, a pattern or numeric PIN or password), you\'ll need to unlock the screen to decrypt
|
||||||
except by performing a factory data reset, erasing all your data.\n\nEncryption takes
|
the phone every time you power it on. The only other way to decrypt is to perform a factory
|
||||||
an hour or more. You must start with a charged battery and keep your phone plugged in
|
data reset, erasing all your data.\n\nEncryption takes an hour or more. You must start with
|
||||||
until encryption is complete. If you interrupt the encryption process, you will lose
|
a charged battery and keep your phone plugged in throughout the process. If you interrupt,
|
||||||
some or all of your data.</string>
|
you\’ll lose some or all of your data.</string>
|
||||||
|
|
||||||
<!-- Button text to start encryption process -->
|
<!-- Button text to start encryption process -->
|
||||||
<string name="crypt_keeper_button_text" product="tablet">Encrypt tablet</string>
|
<string name="crypt_keeper_button_text" product="tablet">Encrypt tablet</string>
|
||||||
@@ -4364,6 +4356,10 @@
|
|||||||
<string name="status_wimax_mac_address">4G MAC address</string>
|
<string name="status_wimax_mac_address">4G MAC address</string>
|
||||||
<!-- This is displayed to the user when the device needs to be decrypted -->
|
<!-- This is displayed to the user when the device needs to be decrypted -->
|
||||||
<string name="enter_password">Type password to decrypt storage</string>
|
<string name="enter_password">Type password to decrypt storage</string>
|
||||||
|
<!-- Informational text on the pin entry screen prompting the user for their pin -->
|
||||||
|
<string name="enter_pin">Enter your PIN to decrypt storage</string>
|
||||||
|
<!-- Informational text on the pattern entry screen prompting the user for their pattern -->
|
||||||
|
<string name="enter_pattern">Draw your pattern to decrypt storage</string>
|
||||||
<!-- This is displayed when the password is entered incorrectly -->
|
<!-- This is displayed when the password is entered incorrectly -->
|
||||||
<string name="try_again">Try again.</string>
|
<string name="try_again">Try again.</string>
|
||||||
|
|
||||||
|
@@ -23,7 +23,6 @@
|
|||||||
<PreferenceScreen
|
<PreferenceScreen
|
||||||
android:key="encryption"
|
android:key="encryption"
|
||||||
android:title="@string/crypt_keeper_encrypt_title"
|
android:title="@string/crypt_keeper_encrypt_title"
|
||||||
android:summary="@string/crypt_keeper_encrypt_summary"
|
|
||||||
android:fragment="com.android.settings.CryptKeeperSettings" />
|
android:fragment="com.android.settings.CryptKeeperSettings" />
|
||||||
|
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
|
@@ -388,9 +388,11 @@ public class CryptKeeper extends Activity implements TextView.OnEditorActionList
|
|||||||
public void onPostExecute(java.lang.Void v) {
|
public void onPostExecute(java.lang.Void v) {
|
||||||
if(type == StorageManager.CRYPT_TYPE_PIN) {
|
if(type == StorageManager.CRYPT_TYPE_PIN) {
|
||||||
setContentView(R.layout.crypt_keeper_pin_entry);
|
setContentView(R.layout.crypt_keeper_pin_entry);
|
||||||
|
((TextView)findViewById(R.id.status)).setText(R.string.enter_pin);
|
||||||
} else if (type == StorageManager.CRYPT_TYPE_PATTERN) {
|
} else if (type == StorageManager.CRYPT_TYPE_PATTERN) {
|
||||||
setContentView(R.layout.crypt_keeper_pattern_entry);
|
setContentView(R.layout.crypt_keeper_pattern_entry);
|
||||||
setBackFunctionality(false);
|
setBackFunctionality(false);
|
||||||
|
((TextView)findViewById(R.id.status)).setText(R.string.enter_pattern);
|
||||||
} else {
|
} else {
|
||||||
setContentView(R.layout.crypt_keeper_password_entry);
|
setContentView(R.layout.crypt_keeper_password_entry);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user