Chromium Code Reviews| 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..7676e11118bb8710c8346edbb78571d999adcdbf 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. |
|
palmer
2016/06/20 21:34:20
It's a good idea to attach a crbug link to all TOD
Zhiqiang Zhang (Slow)
2016/06/21 11:08:42
Done.
|
| ScopedJavaLocalRef<jobject> j_metadata = |
| MediaMetadataAndroid::CreateJavaObject(env, metadata); |