[-]
[+]
|
Changed |
_service:tar_git:geoclue-providers-hybris.spec
|
|
[-]
[+]
|
Changed |
_service:tar_git:geoclue-provider-hybris-hal-0.2.34+master.20220309005431.5.g1a21890.tar.gz/hybrisprovider.cpp
^
|
@@ -523,17 +523,24 @@
qDebug() << location.accuracy().horizontal() << m_currentLocation.accuracy().horizontal();
m_currentLocation = location;
qDebug() << location.accuracy().horizontal() << m_currentLocation.accuracy().horizontal();
+ Accuracy acc;
+ acc.setHorizontal(location.accuracy().horizontal());
+ acc.setVertical(location.accuracy().vertical());
+ qDebug() << m_currentLocation.accuracy().horizontal() << acc.horizontal();
if (m_currentLocation.timestamp() != 0 && m_currentLocation.timestamp() < GnssWeekRolloverTimestamp) {
qCDebug(lcGeoclueHybris) << "Fixing timestamp offset";
m_currentLocation.setTimestamp(m_currentLocation.timestamp() + GnssWeekRolloverTimestampOffset);
}
+ qDebug() << m_currentLocation.accuracy().horizontal() << acc.horizontal();
qDebug() << location.accuracy().horizontal() << m_currentLocation.accuracy().horizontal();
// m_currentLocation.setAccuracy(location.accuracy());
m_currentLocation.accuracy().setHorizontal(location.accuracy().horizontal());
m_currentLocation.accuracy().setVertical(location.accuracy().vertical());
qDebug() << location.accuracy().horizontal() << m_currentLocation.accuracy().horizontal();
+ m_currentLocation.setAccuracy(acc);
+ qDebug() << location.accuracy().horizontal() << m_currentLocation.accuracy().horizontal();
emitLocationChanged();
}
|