Grant access to right key id after generation
This commit is contained in:
@@ -221,7 +221,7 @@ class RemoteSelectIdentityKeyPresenter {
|
||||
void onImportOpSuccess(ImportKeyResult result) {
|
||||
long importedMasterKeyId = result.getImportedMasterKeyIds()[0];
|
||||
apiAppDao.insertApiApp(apiApp);
|
||||
apiAppDao.addAllowedKeyIdForApp(apiApp.package_name(), selectedMasterKeyId);
|
||||
apiAppDao.addAllowedKeyIdForApp(apiApp.package_name(), importedMasterKeyId);
|
||||
view.finishAndReturn(importedMasterKeyId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user