aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/platform/android/activity/XBMCApp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/platform/android/activity/XBMCApp.cpp b/xbmc/platform/android/activity/XBMCApp.cpp
index 10e00d0146..da9c31456a 100644
--- a/xbmc/platform/android/activity/XBMCApp.cpp
+++ b/xbmc/platform/android/activity/XBMCApp.cpp
@@ -919,9 +919,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);