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

Commit 7a77f747 authored by Chandru S's avatar Chandru S Committed by Automerger Merge Worker
Browse files

Merge "Add null check for fingerprint props" into udc-dev am: 8efd7986

parents 1678646f 8efd7986
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -1005,11 +1005,13 @@ public class AuthController implements CoreStartable, CommandQueue.Callbacks,
     * not enrolled sfps. This may be false if called before onAllAuthenticatorsRegistered.
     */
    public boolean isRearFpsSupported() {
        if (mFpProps != null) {
            for (FingerprintSensorPropertiesInternal prop: mFpProps) {
                if (prop.sensorType == TYPE_REAR) {
                    return true;
                }
            }
        }
        return false;
    }