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

Commit c47567db 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

am: 0ae9cd3f

Change-Id: I26ddf960c24e3a8706fc32fbaabe54e772ff9e02
parents 2c464dfd 0ae9cd3f
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}.
     *