Index: chrome/android/java/src/org/chromium/chrome/browser/media/remote/RemoteMediaPlayerBridge.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/media/remote/RemoteMediaPlayerBridge.java b/chrome/android/java/src/org/chromium/chrome/browser/media/remote/RemoteMediaPlayerBridge.java |
index 3bdab611244f1039da7cc634c8c9b769c49af353..d77e74adf606bb7b5c010d1eb79ede1afb6a70d4 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/media/remote/RemoteMediaPlayerBridge.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/media/remote/RemoteMediaPlayerBridge.java |
@@ -322,14 +322,14 @@ public class RemoteMediaPlayerBridge { |
Log.d(TAG, "onRouteAvailabilityChange: " + mRouteIsAvailable + ", " + mIsPlayable); |
if (mNativeRemoteMediaPlayerBridge == 0) return; |
- int availability = WebRemotePlaybackAvailability.kDeviceNotAvailable; |
+ int availability = WebRemotePlaybackAvailability.DEVICE_NOT_AVAILABLE; |
if (!mRouteIsAvailable && !mIsPlayable) { |
- availability = WebRemotePlaybackAvailability.kSourceNotSupported; |
+ availability = WebRemotePlaybackAvailability.SOURCE_NOT_SUPPORTED; |
} else if (mRouteIsAvailable && mIsPlayable) { |
- availability = WebRemotePlaybackAvailability.kDeviceAvailable; |
+ availability = WebRemotePlaybackAvailability.DEVICE_AVAILABLE; |
} else if (mRouteIsAvailable) { |
// mIsPlayable is false here. |
- availability = WebRemotePlaybackAvailability.kSourceNotCompatible; |
+ availability = WebRemotePlaybackAvailability.SOURCE_NOT_COMPATIBLE; |
} |
nativeOnRouteAvailabilityChanged(mNativeRemoteMediaPlayerBridge, availability); |
} |