Skip to content

Commit

Permalink
Merge pull request xbmc#25841 from fritsch/mediasession
Browse files Browse the repository at this point in the history
MediaSession: Properly update when pressing stop
  • Loading branch information
thexai authored Oct 20, 2024
2 parents dbd88eb + f8e6acb commit d6b1479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/platform/android/activity/XBMCApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -924,9 +924,9 @@ void CXBMCApp::OnPlayBackStopped()
CLog::Log(LOGDEBUG, "{}", __PRETTY_FUNCTION__);

m_playback_state = PLAYBACK_STATE_STOPPED;
m_mediaSessionUpdated = false;
UpdateSessionState();
m_mediaSession->activate(false);
m_mediaSessionUpdated = false;

RequestVisibleBehind(false);
CAndroidKey::SetHandleMediaKeys(true);
Expand Down

0 comments on commit d6b1479

Please # to comment.