fix : prevent crash on geo: intent when no compatible map app is inst… (#1936)

Co-authored-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
emp3r0r7 2025-05-26 14:09:56 +02:00 committed by GitHub
parent ac22ac3f28
commit f6f3cf5c20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 78 additions and 37 deletions

View file

@ -86,6 +86,14 @@
android:name="android.hardware.usb.host"
android:required="false" />
<!-- Declare geo: intent visibility for Android 11+ (needed for resolveActivity with map apps) -->
<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="geo" />
</intent>
</queries>
<!-- hardware acceleration is required for zxing barcode lib -->
<application
android:name="com.geeksville.mesh.MeshUtilApplication"