Files
Bruno Martins 7a12b4421b fingerprint: Avoid crashing with invalid location or if parsing fails
If reading location from `persist.vendor.fingerprint.optical.sensorlocation`
ever fails or prop is malformed, then the code will crash in this line:

  ParseInt(size, &props.sensorLocations[0].sensorRadius)

Avoid that by ensuring that `props.sensorLocations` is not empty.

Change-Id: I31a43f97e526fa8b7e6ec2080932cfb5552e237f
2026-01-20 14:33:23 +01:00
..