Browse Source

Fix screenshot UI not hidden when leaving and restoring the app

merge-requests/1594/merge
Nicolas Pomepuy 1 year ago
committed by Duncan McNamara
parent
commit
872b553569
  1. 2
      application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt

2
application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt

@ -751,7 +751,7 @@ open class VideoPlayerActivity : AppCompatActivity(), PlaybackService.Callback,
if (isLocked && !orientationMode.locked) requestedOrientation = orientationMode.orientation
overlayDelegate.updateOrientationIcon()
arrayOf(FADE_OUT_VOLUME_INFO, FADE_OUT_BRIGHTNESS_INFO, FADE_OUT, FADE_OUT_INFO).forEach {
arrayOf(FADE_OUT_VOLUME_INFO, FADE_OUT_BRIGHTNESS_INFO, FADE_OUT, FADE_OUT_INFO, FADE_OUT_SCREENSHOT).forEach {
handler.removeMessages(it)
handler.sendEmptyMessage(it)
}

Loading…
Cancel
Save