| 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..4b2b973cb0ba8ed3129412b67a8580df9af15fab 100644
|
| --- a/android_webview/lib/main/aw_main_delegate.cc
|
| +++ b/android_webview/lib/main/aw_main_delegate.cc
|
| @@ -112,6 +112,10 @@ 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);
|
| +
|
| #if defined(V8_USE_EXTERNAL_STARTUP_DATA)
|
| if (cl->GetSwitchValueASCII(switches::kProcessType).empty()) {
|
| // Browser process (no type specified).
|
|
|