Skip to content

Commit

Permalink
remove @deprecated because
Browse files Browse the repository at this point in the history
"This annotation is not applicable to target 'expression'."

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
  • Loading branch information
mahibi committed Jun 17, 2024
1 parent 75d9948 commit c81f4d7
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ class AudioFocusRequestManager(private val context: Context) {
audioManager.abandonAudioFocusRequest(focusRequest)
}
} else {
@Deprecated("This method was deprecated in API level 26.")
if (shouldRequestFocus) {
audioManager.requestAudioFocus(audioFocusChangeListener, AudioManager.STREAM_MUSIC, duration)
} else {
Expand Down

0 comments on commit c81f4d7

Please sign in to comment.