mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-03-27 10:11:48 -04:00
17 lines
1.3 KiB
XML
17 lines
1.3 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<SmellBaseline>
|
|
<ManuallySuppressedIssues/>
|
|
<CurrentIssues>
|
|
<ID>MagicNumber:EditIPv4Preference.kt$0xff</ID>
|
|
<ID>MagicNumber:EditIPv4Preference.kt$16</ID>
|
|
<ID>MagicNumber:EditIPv4Preference.kt$24</ID>
|
|
<ID>MagicNumber:EditIPv4Preference.kt$8</ID>
|
|
<ID>MagicNumber:EditListPreference.kt$12345</ID>
|
|
<ID>MagicNumber:EditListPreference.kt$67890</ID>
|
|
<ID>MagicNumber:LazyColumnDragAndDropDemo.kt$50</ID>
|
|
<ID>MatchingDeclarationName:LocalTracerouteMapOverlayInsetsProvider.kt$TracerouteMapOverlayInsets</ID>
|
|
<ID>Wrapping:PlatformUtils.kt${ lat, lon, label -> val encodedLabel = URLEncoder.encode(label, "utf-8") val uri = "geo:0,0?q=$lat,$lon&z=17&label=$encodedLabel".toUri() val intent = Intent(Intent.ACTION_VIEW, uri).apply { addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) } try { if (intent.resolveActivity(context.packageManager) != null) { context.startActivity(intent) } } catch (ex: ActivityNotFoundException) { Logger.d { "Failed to open geo intent: $ex" } } }</ID>
|
|
<ID>Wrapping:PlatformUtils.kt${ url -> try { val intent = Intent(Intent.ACTION_VIEW, url.toUri()).apply { addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) } context.startActivity(intent) } catch (ex: ActivityNotFoundException) { Logger.d { "Failed to open URL intent: $ex" } } }</ID>
|
|
</CurrentIssues>
|
|
</SmellBaseline>
|