Index: content/browser/android/web_contents_observer_proxy.cc |
diff --git a/content/browser/android/web_contents_observer_proxy.cc b/content/browser/android/web_contents_observer_proxy.cc |
index dfa52cfb2112afb760c33379abdd1dc26136607c..7b131746ba19f61770ff0ea09bfd2f008b91a9c5 100644 |
--- a/content/browser/android/web_contents_observer_proxy.cc |
+++ b/content/browser/android/web_contents_observer_proxy.cc |
@@ -315,6 +315,10 @@ void WebContentsObserverProxy::MediaSessionStateChanged( |
JNIEnv* env = AttachCurrentThread(); |
ScopedJavaLocalRef<jobject> obj(java_observer_); |
+ |
+ // TODO(zqzhang): the metadata is sent though JNI everytime the media session |
+ // play/pause state changes. Need to find a way to seprate the state change |
+ // and Metadata update. See https://crbug.com/621855. |
ScopedJavaLocalRef<jobject> j_metadata = |
MediaMetadataAndroid::CreateJavaObject(env, metadata); |