Cherry pick  [Android] MediaPlayerBridge should pass Bridge to getAllowedOperations

Cherry pick of https://codereview.chromium.org/32213003/

Bug: 11311417

Original description:
[Android] MediaPlayerBridge should pass Bridge to getAllowedOperations

Right now the Java side is expecting a MediaPlayer object to be passed
to the MediaPlayerBridge.getAllowedOperations function, but native
is actually passing it a MediaPlayerBridge. Update the code to be
consistent - Java now expects the MediaPlayerBrdige and uses it to
extract a MediaPlayer.

Change-Id: I5ac618c833c6c3ff015d43405a9a4d507fce9ba5
diff --git a/media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java b/media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java
index 4b0a1aa..733a7a1 100644
--- a/media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java
+++ b/media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java
@@ -172,7 +172,8 @@
      * allowed on the media player.
      */
     @CalledByNative
-    private static AllowedOperations getAllowedOperations(MediaPlayer player) {
+    private static AllowedOperations getAllowedOperations(MediaPlayerBridge bridge) {
+        MediaPlayer player = bridge.getLocalPlayer();
         boolean canPause = true;
         boolean canSeekForward = true;
         boolean canSeekBackward = true;