mer-hybris / geoclue-providers-hybris

GNU Lesser General Public License v2.1
2 stars 17 forks source link

Fix setting accuracy #43

Closed Michal-Szczepaniak closed 2 years ago

Michal-Szczepaniak commented 2 years ago

So, for some reason, after m_currentLocation = location; accuracy becones NaN. I tried doing m_currentLocation.setAccuracy(location.accuracy()) but the accuracy was still NaN. I tried m_currentLocation.accuracy().setHorizontal(location.accuracy().horizontal()); but that was NaN as well. This solution thankfully works. If you want to debug it further and find real reason, feel free, I would just like to have working accuracy asap