Index: android_webview/lib/main/aw_main_delegate.cc |
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc |
index 3c91dc748dbc69bab0fe1a56e7ea1f998f0b004f..6107cead6ebf1f3d1a141d4e914f9ed459c9c11c 100644 |
--- a/android_webview/lib/main/aw_main_delegate.cc |
+++ b/android_webview/lib/main/aw_main_delegate.cc |
@@ -112,6 +112,11 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) { |
// Presentation API, see https://crbug.com/521319. |
cl->AppendSwitch(switches::kDisableRemotePlaybackAPI); |
+ // WebView does not support MediaSession API since there's no UI for media |
+ // metadata and controls. |
+ cl->AppendSwitch(switches::kDisableMediaSessionAPI); |
+ |
+ |
jochen (gone - plz use gerrit)
2017/01/10 09:54:50
nit. only one empty line
Zhiqiang Zhang (Slow)
2017/01/10 11:06:15
Done.
|
#if defined(V8_USE_EXTERNAL_STARTUP_DATA) |
if (cl->GetSwitchValueASCII(switches::kProcessType).empty()) { |
// Browser process (no type specified). |