Skip to content

Commit

Permalink
fix static code warning
Browse files Browse the repository at this point in the history
Signed-off-by: parneet-guraya <[email protected]>
  • Loading branch information
parneet-guraya committed Sep 11, 2024
1 parent d8ed2ce commit 9f176b4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ class PreviewMediaActivity :
videoPlayer = null
}

@Suppress("TooGenericExceptionCaught")
private fun initializeAudioPlayer() {
val sessionToken = SessionToken(this, ComponentName(this, BackgroundPlayerService::class.java))
mediaControllerFuture = MediaController.Builder(this, sessionToken).buildAsync()
Expand Down

0 comments on commit 9f176b4

Please sign in to comment.