diff options
author | Kenny Root <kroot@google.com> | 2013-03-21 14:21:50 -0700 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2013-03-21 14:24:19 -0700 |
commit | 5f1d965f7d7e1df50981ffed8faa11fbcc17ca22 (patch) | |
tree | b4449ba12d8e3da7e8c70edcd2b313f4798cd76c /keystore/java | |
parent | e4679750c538e982bb81f4eea2343e8bede3e118 (diff) | |
download | frameworks_base-5f1d965f7d7e1df50981ffed8faa11fbcc17ca22.zip frameworks_base-5f1d965f7d7e1df50981ffed8faa11fbcc17ca22.tar.gz frameworks_base-5f1d965f7d7e1df50981ffed8faa11fbcc17ca22.tar.bz2 |
KeyStore: change migrate to duplicate
After discussion, it was determined that duplicate would be less
disruptive and it still fit in the current HAL model.
Change-Id: I2f9cae48d38ec7146511e876450fa39fc92cda55
Diffstat (limited to 'keystore/java')
-rw-r--r-- | keystore/java/android/security/KeyStore.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keystore/java/android/security/KeyStore.java b/keystore/java/android/security/KeyStore.java index 4dc0beb..12c0ed8 100644 --- a/keystore/java/android/security/KeyStore.java +++ b/keystore/java/android/security/KeyStore.java @@ -287,9 +287,9 @@ public class KeyStore { } } - public boolean migrate(String key, int uid) { + public boolean duplicate(String srcKey, int srcUid, String destKey, int destUid) { try { - return mBinder.migrate(key, uid) == NO_ERROR; + return mBinder.duplicate(srcKey, srcUid, destKey, destUid) == NO_ERROR; } catch (RemoteException e) { Log.w(TAG, "Cannot connect to keystore", e); return false; |