Meshtastic-Android/core/ui/detekt-baseline.xml
James Rich d076361c55
refactor: migrate core UI and features to KMP, adopt Navigation 3 (#4750)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
2026-03-10 17:29:47 +00:00

16 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&amp;z=17&amp;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>