mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
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:
parent
ac22ac3f28
commit
f6f3cf5c20
2 changed files with 78 additions and 37 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue