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

Commit 9fbf7205 authored by Joshua Mccloskey's avatar Joshua Mccloskey Committed by Automerger Merge Worker
Browse files

Merge "Add NPE check to FpDetectClient" into sc-dev am: 0a2ae5bb am: 25369ad0

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15053499

Change-Id: I9a56636553bc0aa24d5c8282e11ab919345de793
parents a4d6b23d 25369ad0
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -124,12 +124,14 @@ class FingerprintDetectClient extends AcquisitionClient<IBiometricsFingerprint>
        final PerformanceTracker pm = PerformanceTracker.getInstanceForSensorId(getSensorId());
        pm.incrementAuthForUser(getTargetUserId(), authenticated);

        if (getListener() != null) {
            try {
                getListener().onDetected(getSensorId(), getTargetUserId(), mIsStrongBiometric);
            } catch (RemoteException e) {
                Slog.e(TAG, "Remote exception when sending onDetected", e);
            }
        }
    }

    @Override
    public int getProtoEnum() {