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

Commit 70330bc2 authored by Dmitry Dementyev's avatar Dmitry Dementyev Committed by Eric Biggers
Browse files

Change log priority for ERROR_KEY_DOES_NOT_EXIST in RecoverableKeyStore

Test: N/A
Bug: 287139350
Change-Id: If9e8177718a5eef63d18de5a16463bff8ebe9e52
Merged-In: If9e8177718a5eef63d18de5a16463bff8ebe9e52
(cherry picked from commit 196cffa1)
parent 50f03357
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -138,7 +138,7 @@ public class ApplicationKeyStorage {
        } catch (android.security.KeyStoreException e) {
        } catch (android.security.KeyStoreException e) {
            if (e.getNumericErrorCode()
            if (e.getNumericErrorCode()
                    == android.security.KeyStoreException.ERROR_KEY_DOES_NOT_EXIST) {
                    == android.security.KeyStoreException.ERROR_KEY_DOES_NOT_EXIST) {
                Log.e(TAG, "Failed to get grant for KeyStore key - key not found", e);
                Log.w(TAG, "Failed to get grant for KeyStore key - key not found");
                throw new ServiceSpecificException(ERROR_KEY_NOT_FOUND, e.getMessage());
                throw new ServiceSpecificException(ERROR_KEY_NOT_FOUND, e.getMessage());
            }
            }
            Log.e(TAG, "Failed to get grant for KeyStore key.", e);
            Log.e(TAG, "Failed to get grant for KeyStore key.", e);