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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user