From f2fb4494309cc02ad16ca4324cf5196442212613 Mon Sep 17 00:00:00 2001 From: Alex Cruz Date: Fri, 20 Oct 2017 19:26:58 -0400 Subject: [PATCH] DO NOT MERGE: Change encryption preference's summary accordingly With this change a summary to the encryption preference was added. https://android.googlesource.com/platform/packages/apps/Settings/+/415ce9a77d44732966fbab641d1ecaa8e8688381 The problem is that even if you're not encrypted, it says that your phone is. Is very misleading to the user that don't bother to enter the actual preference and want to see if they are. This fixes that. Test: Go into Settings/Security & Location Change-Id: Iaeaffd340f2e248748f244a947aa71eb8ad4ab94 --- res/values/strings.xml | 2 ++ res/xml/security_settings_misc.xml | 1 - src/com/android/settings/SecuritySettings.java | 11 +++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index b77f4b5b501..60f007114e9 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -748,8 +748,10 @@ Encryption & credentials Phone encrypted + Phone not encrypted Device encrypted + Device not encrypted Lock screen preferences diff --git a/res/xml/security_settings_misc.xml b/res/xml/security_settings_misc.xml index 7946dd9d771..ade47826fc2 100644 --- a/res/xml/security_settings_misc.xml +++ b/res/xml/security_settings_misc.xml @@ -60,7 +60,6 @@