Merge "Merge "Do not throw KeystoreException for when a key does not exist" into pi-dev am: 73b7722c13" into pi-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
2220061b45
@@ -561,7 +561,7 @@ public class RecoveryController {
|
||||
throws InternalRecoveryServiceException, UnrecoverableKeyException {
|
||||
try {
|
||||
String grantAlias = mBinder.getKey(alias);
|
||||
if (grantAlias == null) {
|
||||
if (grantAlias == null || "".equals(grantAlias)) {
|
||||
return null;
|
||||
}
|
||||
return getKeyFromGrant(grantAlias);
|
||||
|
||||
Reference in New Issue
Block a user