diff options
author | Kenny Root <kroot@google.com> | 2013-04-12 17:39:05 -0700 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2013-04-12 17:39:27 -0700 |
commit | c3d5df9307977f27ca4048055f003282a7095ee8 (patch) | |
tree | 28c5ea4e7a3ac2f717c400f18c868e3cd3c60e8f | |
parent | 8823287fa10d30e3ebacf4a60befbef2a8cdef31 (diff) | |
download | android_packages_apps_CertInstaller-c3d5df9307977f27ca4048055f003282a7095ee8.tar.gz android_packages_apps_CertInstaller-c3d5df9307977f27ca4048055f003282a7095ee8.tar.bz2 android_packages_apps_CertInstaller-c3d5df9307977f27ca4048055f003282a7095ee8.zip |
keystore: remove old APIs
Remove the call sites that don't have the flags specified. This is to
ensure that callers know what flags they're setting.
Bug: 8122243
Change-Id: I4b7a8b9327cde5cbfe30c28870f8c31376a5b690
-rw-r--r-- | src/com/android/certinstaller/CertInstaller.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/certinstaller/CertInstaller.java b/src/com/android/certinstaller/CertInstaller.java index 0bfa33b..8e06982 100644 --- a/src/com/android/certinstaller/CertInstaller.java +++ b/src/com/android/certinstaller/CertInstaller.java @@ -266,7 +266,7 @@ public class CertInstaller extends Activity { return; } byte[] bytes = Util.toBytes(map); - if (!mKeyStore.put(PKEY_MAP_KEY, bytes)) { + if (!mKeyStore.put(PKEY_MAP_KEY, bytes, KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED)) { Log.w(TAG, "savePkeyMap(): failed to write pkey map"); } } |