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

Commit c8445a48 authored by Austin Delgado's avatar Austin Delgado
Browse files

Ignore empty messages in FingerprintCallback

Test: atest com.android.server.biometric
Bug: 367730244
Flag: EXEMPT bugfix
Change-Id: Id8184c4e53d38ed0eeadd391a29d0744ba296ce4
parent f560f72d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -189,7 +189,7 @@ public class FingerprintCallback {
            mEnrollmentCallback.onAcquired(acquireInfo == FINGERPRINT_ACQUIRED_GOOD);
        }
        final String msg = getAcquiredString(context, acquireInfo, vendorCode);
        if (msg == null) {
        if (msg == null || msg.isEmpty()) {
            return;
        }
        // emulate HAL 2.1 behavior and send real acquiredInfo