gclue-location: Do Not return RMC sentence if previous location is unknown
With geoclue, sometimes I get a lone RMC sentence before the GGA sentence, so the accuracy is GCLUE_LOCATION_ACCURACY_UNKNOWN
, which sets to -1
. Unfortunately, there is a bug in set_location ()
where it will accept this.
This will reject this sentences
Edited by Chris T