Modern Apps git

← Modern-Apps.git

emergency: document public API for detekt

Commit
b952fdd872217911b7ca6abf9a706163530cb11f
Author
Vayun Mathur <[email protected]>
When
2026-11-17 14:42 UTC (19 days ago)
Parents
8487704
Add concise KDoc to every public class, object, interface and
enum (including nested types) that detekt's
UndocumentedPublicClass rule flagged in this module. Docs only:
no behaviour, visibility or config changes.

Verified: ./gradlew :emergency:detekt reports 0
UndocumentedPublicClass findings (pre-existing error-severity
findings in other rules, where present, are untouched), and the
module unit tests pass.

Diff

emergency/src/main/java/com/vayunmathur/emergency/MainActivity.kt
diff --git a/emergency/src/main/java/com/vayunmathur/emergency/MainActivity.kt b/emergency/src/main/java/com/vayunmathur/emergency/MainActivity.ktindex 005ff62734..f20ddc40ce 100644--- a/emergency/src/main/java/com/vayunmathur/emergency/MainActivity.kt+++ b/emergency/src/main/java/com/vayunmathur/emergency/MainActivity.kt@@ -57,6 +57,7 @@ class MainActivity : MaActivity() {         viewModel.refresh()     } +    /** System intent actions that open emergency or medical info editing. */     companion object {         const val ACTION_EDIT_EMERGENCY_INFO = "android.settings.EDIT_EMERGENCY_INFO"         const val ACTION_EDIT_MEDICAL_INFO = "android.emergency.EDIT_MEDICAL_INFO"