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

Commit 0ae9cd3f authored by Max Bires's avatar Max Bires Committed by android-build-merger
Browse files

Merge "Removing binder access to deprecated KeyStore function reset"

am: 9eb7fcfb

Change-Id: I20181b31316826ad4aefe99026ebbbf3784ae5be
parents ca6995b7 9eb7fcfb
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -348,16 +348,6 @@ public class KeyStore {
        return list(prefix, UID_SELF);
    }

    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P, trackingBug = 115609023)
    public boolean reset() {
        try {
            return mBinder.reset() == NO_ERROR;
        } catch (RemoteException e) {
            Log.w(TAG, "Cannot connect to keystore", e);
            return false;
        }
    }

    /**
     * Attempt to lock the keystore for {@code user}.
     *