From 5f1d965f7d7e1df50981ffed8faa11fbcc17ca22 Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Thu, 21 Mar 2013 14:21:50 -0700 Subject: 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 --- keystore/java/android/security/KeyStore.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'keystore/java/android') 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; -- cgit v1.1