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

Commit cd52980d authored by Kevin Chyn's avatar Kevin Chyn
Browse files

Change GenerateChallengeCallback from abstract class to interface

This allows us to use lamdas

Test: Builds
Bug: 161325267
Change-Id: I54e75d363969bbe74e346f2685b331d8743bb2c5
parent cdf4b286
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -377,12 +377,12 @@ public class FingerprintManager implements BiometricAuthenticator, BiometricFing
    /**
    /**
     * @hide
     * @hide
     */
     */
    public abstract static class GenerateChallengeCallback {
    public interface GenerateChallengeCallback {
        public abstract void onChallengeGenerated(long challenge);
        void onChallengeGenerated(long challenge);
    }
    }


    private abstract static class InternalGenerateChallengeCallback
    private abstract static class InternalGenerateChallengeCallback
            extends GenerateChallengeCallback {}
            implements GenerateChallengeCallback {}


    /**
    /**
     * Request authentication of a crypto object. This call warms up the fingerprint hardware
     * Request authentication of a crypto object. This call warms up the fingerprint hardware