Android Auto: use simpler navigation intent URI without POI name

Workaround for TomTom GO, which seems to not handle intents with description correctly
This commit is contained in:
johan12345
2023-09-27 22:00:49 +02:00
parent 0d54e17eb4
commit bdc96fcd57

View File

@@ -520,7 +520,7 @@ class ChargerDetailScreen(ctx: CarContext, val chargerSparse: ChargeLocation) :
val intent =
Intent(
CarContext.ACTION_NAVIGATE,
Uri.parse("geo:0,0?q=${coord.lat},${coord.lng}(${charger.name})")
Uri.parse("geo:${coord.lat},${coord.lng}")
)
carContext.startCarApp(intent)
}