diff options
author | ksooo <3226626+ksooo@users.noreply.github.com> | 2024-10-19 13:12:59 +0200 |
---|---|---|
committer | ksooo <3226626+ksooo@users.noreply.github.com> | 2024-10-19 14:18:33 +0200 |
commit | 7dbc4e2e5b9d7fe9ee6c21ac4f37c811987290e5 (patch) | |
tree | d83b8cbf46a4a54b2b4fdcd5932b2a7772a04f84 | |
parent | 93dc72679b7364201beebf320de433ebf9ddd570 (diff) |
[Android] Fix resuming paused media playback not working via play/pause media key press.
-rw-r--r-- | xbmc/platform/android/activity/XBMCApp.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xbmc/platform/android/activity/XBMCApp.cpp b/xbmc/platform/android/activity/XBMCApp.cpp index 10e00d0146..429a11fa06 100644 --- a/xbmc/platform/android/activity/XBMCApp.cpp +++ b/xbmc/platform/android/activity/XBMCApp.cpp @@ -220,6 +220,11 @@ void CXBMCApp::Announce(ANNOUNCEMENT::AnnouncementFlag flag, m_mediaSessionUpdated = false; UpdateSessionState(); } + else if (message == "OnAVStart") + { + m_mediaSessionUpdated = false; + UpdateSessionState(); + } } else if (flag & Info) { |