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

Commit 9c8cbd7f authored by Kevin Chyn's avatar Kevin Chyn
Browse files

Make registerAuthenticator synchronized

Fixes: 175864950
Test: Presubmit
Change-Id: I092c2cdf7e95bd2955397582de5a9109a424ed58
parent 6f0fe217
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -608,8 +608,9 @@ public class BiometricService extends SystemService {
        }

        @Override
        public void registerAuthenticator(int id, int modality, @Authenticators.Types int strength,
                IBiometricAuthenticator authenticator) {
        public synchronized void registerAuthenticator(int id, int modality,
                @Authenticators.Types int strength,
                @NonNull IBiometricAuthenticator authenticator) {
            checkInternalPermission();

            Slog.d(TAG, "Registering ID: " + id