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

Commit 12e6669c authored by Jeff Pu's avatar Jeff Pu Committed by Android (Google) Code Review
Browse files

Merge "Return an empty SensorProps array instead of null in" into main

parents 10d770d4 99876afd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -224,6 +224,10 @@ public class FingerprintSensorConfigurations implements Parcelable {
        } catch (RemoteException e) {
            Log.d(TAG, "Unable to get sensor properties!");
        }

        if (props == null) {
            props = new SensorProps[]{};
        }
        return props;
    }
}