Skip to content

Replace inline fully-qualified names with imports#69

Merged
chrisuthe merged 1 commit intomainfrom
cleanup/replace-fq-with-imports
Mar 8, 2026
Merged

Replace inline fully-qualified names with imports#69
chrisuthe merged 1 commit intomainfrom
cleanup/replace-fq-with-imports

Conversation

@chrisuthe
Copy link
Copy Markdown
Owner

@chrisuthe chrisuthe commented Mar 8, 2026

Summary

  • Replaced ~60 inline fully-qualified class references with proper import statements across 16 Kotlin files
  • Covers android.os.Build, android.graphics.Color/RenderEffect/Shader, androidx.compose.runtime.*, androidx.annotation.OptIn, androidx.media3.common.util.UnstableApi, okhttp3.*, java.util.concurrent.*, kotlinx.serialization.json.*, androidx.fragment.app.FragmentManager, and more
  • One intentional exception: ArtworkSource.Uri in MainUiState.kt keeps android.net.Uri fully qualified to avoid a name conflict with the enclosing data class

Test plan

  • Verified the project compiles with ./gradlew assembleDebug
  • Smoke test the app on a device to confirm no runtime regressions

@chrisuthe chrisuthe force-pushed the cleanup/replace-fq-with-imports branch from f2a4926 to 5a970f6 Compare March 8, 2026 02:36
@chrisuthe chrisuthe merged commit 90080ee into main Mar 8, 2026
Move fully-qualified references (e.g., android.os.Build.VERSION.SDK_INT,
androidx.compose.runtime.LaunchedEffect, okhttp3.OkHttpClient.Builder)
to proper import statements across 16 files, improving readability.
@chrisuthe chrisuthe deleted the cleanup/replace-fq-with-imports branch March 8, 2026 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant