Android 17 (targetSdk 37) audit: Playground app¶
Playground modules read targetSdk = 37, compileSdk = 37 and buildTools = 37.0.0 from the
version catalog (android/gradle/libs.versions.toml). Robolectric stays capped at SDK 35, with the
app test pin at SDK 30 and CtrlProxy at SDK 24.
Behaviour that the targetSdk 37 audit fixed in place:
- No background playback.
VideoPlayerScreen.ktandAudioPlayerComponent.ktobserveON_STOPthroughLocalLifecycleOwnerand callMediaPlayerViewModel.onHostStopped(), removing observers on disposal. The ViewModel delegates to the pureHostPlaybackseam, which pauses media with play intent, including while buffering; paused or idle hosts stay unchanged. There is no automatic resume and no service or permission for playback, so the policy is the same at targetSdk 36 and 37.FullscreenMediaPlayeronly simulates progress and has no media player. - No reflection in login.
LoginScreen.ktsetsuserPreferences.isAuthenticated = truedirectly; the parameter is typedUserPreferences.