mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2026-03-24 13:34:25 +00:00
Update BackgroundServiceDelegate.mc
Added comment about reasoning for accuracy.
This commit is contained in:
@@ -119,6 +119,7 @@ class BackgroundServiceDelegate extends System.ServiceDelegate {
|
|||||||
var accuracy = 0;
|
var accuracy = 0;
|
||||||
switch (position.accuracy) {
|
switch (position.accuracy) {
|
||||||
case Position.QUALITY_LAST_KNOWN:
|
case Position.QUALITY_LAST_KNOWN:
|
||||||
|
// Location is no longer tied to the timestamp, hence the larger inaccuracy.
|
||||||
accuracy = 200;
|
accuracy = 200;
|
||||||
break;
|
break;
|
||||||
case Position.QUALITY_POOR:
|
case Position.QUALITY_POOR:
|
||||||
|
|||||||
Reference in New Issue
Block a user