fix code analytics

Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2024-04-30 14:34:08 +02:00
parent 0a88cf9a7e
commit 4564ea0483
No known key found for this signature in database
GPG key ID: 4E577DC593B59BDF

View file

@ -186,6 +186,7 @@ class MediaControlView(context: Context, attrs: AttributeSet?) :
return position
}
@Suppress("ReturnCount")
override fun dispatchKeyEvent(event: KeyEvent): Boolean {
val keyCode = event.keyCode
val uniqueDown = (event.repeatCount == 0 && event.action == KeyEvent.ACTION_DOWN)