summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
authorPaul Lawrence <paullawrence@google.com>2015-09-19 02:29:37 +0000
committerPaul Lawrence <paullawrence@google.com>2015-09-19 02:29:37 +0000
commitb33741fce7041fdfa91e0bc31af7562c892f1452 (patch)
tree51ac07d53b407a018e2d853d2a84903c51fd9219 /src/com/android
parent4f60679b7608aba38142bfee472c4722aebf056f (diff)
downloadpackages_apps_Settings-b33741fce7041fdfa91e0bc31af7562c892f1452.zip
packages_apps_Settings-b33741fce7041fdfa91e0bc31af7562c892f1452.tar.gz
packages_apps_Settings-b33741fce7041fdfa91e0bc31af7562c892f1452.tar.bz2
Revert "Remove don't kill flag from CryptKeeper to stop logspam"
This reverts commit 4f60679b7608aba38142bfee472c4722aebf056f. Change-Id: I8c1ebef08f9b5cef4e4c31187a8ba80306afc840
Diffstat (limited to 'src/com/android')
-rw-r--r--src/com/android/settings/CryptKeeper.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/settings/CryptKeeper.java b/src/com/android/settings/CryptKeeper.java
index 6f217c4..45b4ff1 100644
--- a/src/com/android/settings/CryptKeeper.java
+++ b/src/com/android/settings/CryptKeeper.java
@@ -1023,6 +1023,7 @@ public class CryptKeeper extends Activity implements TextView.OnEditorActionList
PackageManager pm = context.getPackageManager();
ComponentName name = new ComponentName(context, CryptKeeper.class);
Log.d(TAG, "Disabling component " + name);
- pm.setComponentEnabledSetting(name, PackageManager.COMPONENT_ENABLED_STATE_DISABLED, 0);
+ pm.setComponentEnabledSetting(name, PackageManager.COMPONENT_ENABLED_STATE_DISABLED,
+ PackageManager.DONT_KILL_APP);
}
}