Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Unified Diff: media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java

Issue 32213003: [Android] MediaPlayerBridge should pass Bridge to getAllowedOperations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java
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 4b0a1aa6d1ad58c604eada66447ec0250eb49585..733a7a1a6e02fe92ad42513445a4b2cca88a6f41 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 @@ public class MediaPlayerBridge {
* 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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698