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 429a11fa06..c67ed9e8cc 100644
--- a/xbmc/platform/android/activity/XBMCApp.cpp
+++ b/xbmc/platform/android/activity/XBMCApp.cpp
@@ -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);