Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72f57557 authored by Robert Berry's avatar Robert Berry
Browse files

Do not throw KeystoreException for when a key does not exist

Bug: 75955240
Test: manual
Change-Id: Ibd2f4d7cd654752b69d2d22e803d4d1cc05c118f
parent 3e4df186
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -605,7 +605,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);