From 3182fad72341e0f2998ce19cbc2507eb82ebe1ec Mon Sep 17 00:00:00 2001 From: andrekir Date: Wed, 4 Sep 2024 09:20:51 -0300 Subject: [PATCH] refactor: tag `LocSource.LOC_EXTERNAL` to Android GPS positions --- app/src/main/java/com/geeksville/mesh/service/MeshService.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/geeksville/mesh/service/MeshService.kt b/app/src/main/java/com/geeksville/mesh/service/MeshService.kt index 737e7ac4..b9892297 100644 --- a/app/src/main/java/com/geeksville/mesh/service/MeshService.kt +++ b/app/src/main/java/com/geeksville/mesh/service/MeshService.kt @@ -190,6 +190,7 @@ class MeshService : Service(), Logging { time = (location.time / 1000).toInt() groundSpeed = location.speed.toInt() groundTrack = location.bearing.toInt() + locationSource = MeshProtos.Position.LocSource.LOC_EXTERNAL } ) }.launchIn(serviceScope)