summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/CryptKeeperSettings.java
diff options
context:
space:
mode:
authorPaul Lawrence <paullawrence@google.com>2014-07-07 13:10:16 -0700
committerPaul Lawrence <paullawrence@google.com>2014-07-10 10:23:12 -0700
commit204440427aa198a836d55418060759a1e964abcc (patch)
tree54bc5690a780dcd8e4321e63558cecb882547f83 /src/com/android/settings/CryptKeeperSettings.java
parent74e7c3e3601f4808854cf12bffe11ebf4c6ea8ab (diff)
downloadpackages_apps_Settings-204440427aa198a836d55418060759a1e964abcc.tar.gz
packages_apps_Settings-204440427aa198a836d55418060759a1e964abcc.tar.bz2
packages_apps_Settings-204440427aa198a836d55418060759a1e964abcc.zip
Don't put credentials in results from externally accessible activities
ConfirmLockPattern and ConfirmLockPassword return an intent that contains the password, and as such are dangerous. Create internal versions that are locked down, and don't put this info in the externally accessible versions. Bug: 13741939 Change-Id: I0df4d1e720b3c33d2c9ca086636dc54f17b19bf0
Diffstat (limited to 'src/com/android/settings/CryptKeeperSettings.java')
-rw-r--r--src/com/android/settings/CryptKeeperSettings.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/settings/CryptKeeperSettings.java b/src/com/android/settings/CryptKeeperSettings.java
index 7f7a6759a..45df8ba57 100644
--- a/src/com/android/settings/CryptKeeperSettings.java
+++ b/src/com/android/settings/CryptKeeperSettings.java
@@ -164,7 +164,8 @@ public class CryptKeeperSettings extends Fragment {
return helper.launchConfirmationActivity(request,
res.getText(R.string.master_clear_gesture_prompt),
- res.getText(R.string.master_clear_gesture_explanation));
+ res.getText(R.string.master_clear_gesture_explanation),
+ true);
}
@Override