[Android] Fix UninitializedPropertyAccessException

Nicolas Pomepuy git at videolan.org
Tue Nov 24 10:53:12 CET 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Nov 24 10:03:23 2020 +0100| [be788887de63538e8b8d552e8aa8fd6a4c8dcc90] | committer: Nicolas Pomepuy

Fix UninitializedPropertyAccessException

> https://code.videolan.org/videolan/vlc-android/commit/be788887de63538e8b8d552e8aa8fd6a4c8dcc90
---

 .../vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
index cd2c1b82a..d9aeeb98f 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
@@ -1053,6 +1053,7 @@ open class VideoPlayerActivity : AppCompatActivity(), PlaybackService.Callback,
                 return true
             }
             KeyEvent.KEYCODE_K -> {
+                delayDelegate.showDelayControls()
                 delayDelegate.delayAudioOrSpu(delta = 50000L, delayState = IPlaybackSettingsController.DelayState.AUDIO)
                 handler.removeMessages(HIDE_SETTINGS)
                 handler.sendEmptyMessageDelayed(HIDE_SETTINGS, 4000L)



More information about the Android mailing list