[Android WebView] Propagate media keys to the AudioManager when WebView is active.
commit741d61b7de45dd4948840559863782321a52246f
authortimvolodine <timvolodine@chromium.org>
Thu, 23 Apr 2015 18:39:54 +0000 (23 11:39 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 23 Apr 2015 18:40:05 +0000 (23 18:40 +0000)
tree1deb879262ff535da5870082799c60892d274d77
parent2c1c378279e7b164acea9fb1ad2069c0e14d4526
[Android WebView] Propagate media keys to the AudioManager when WebView is active.

Propagate media keys to the android AudioManager when a Webview
is active. This is to fix the problem of the start/stop/next etc.
media keys not working on a bluetooth headset when a WebView is
in focus, in particular when ads are shown.

BUG=479786

Review URL: https://codereview.chromium.org/1099903005

Cr-Commit-Position: refs/heads/master@{#326591}
android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java