Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(325)

Unified Diff: content/browser/media/session/audio_focus_delegate_android.cc

Issue 2758773003: Clean up MediaSessionImpl state interfaces (Closed)
Patch Set: fixed build Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/media/session/audio_focus_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/session/audio_focus_delegate_android.cc
diff --git a/content/browser/media/session/audio_focus_delegate_android.cc b/content/browser/media/session/audio_focus_delegate_android.cc
index 07f0a8e515860ab0b82fb763e1df460e23892ce3..d96d3c879625136b93cc7c9303b78f200fd117f0 100644
--- a/content/browser/media/session/audio_focus_delegate_android.cc
+++ b/content/browser/media/session/audio_focus_delegate_android.cc
@@ -62,7 +62,7 @@ void AudioFocusDelegateAndroid::OnSuspend(JNIEnv*,
void AudioFocusDelegateAndroid::OnResume(JNIEnv*,
const JavaParamRef<jobject>&) {
- if (!media_session_->IsReallySuspended())
+ if (!media_session_->IsSuspended())
return;
media_session_->Resume(MediaSession::SuspendType::SYSTEM);
« no previous file with comments | « no previous file | content/browser/media/session/audio_focus_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698