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

Commit 39474c53 authored by Diya Bera's avatar Diya Bera Committed by Gerrit Code Review
Browse files

Merge "[Fingerprint][BugFix]: add null judgement" into main

parents 11d5d6ff 94982a66
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -120,12 +120,14 @@ public abstract class BiometricServiceRegistry<T extends BiometricServiceProvide
        // Register each sensor individually with BiometricService
        final List<P> allProps = new ArrayList<>();
        for (T provider : providers) {
            if(provider != null) {
                final List<P> props = provider.getSensorProperties();
                for (P prop : props) {
                    registerService(biometricService, prop);
                }
                allProps.addAll(props);
            }
        }

        finishRegistration(providers, allProps);
    }