Index: chrome/android/java/src/org/chromium/chrome/browser/media/remote/AbstractMediaRouteController.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/media/remote/AbstractMediaRouteController.java b/chrome/android/java/src/org/chromium/chrome/browser/media/remote/AbstractMediaRouteController.java |
index ba81d8ea4357a0b72bf2956410a3df01eb9d4191..c895e0358a0a271109cadc899ec6a16a14f83ceb 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/media/remote/AbstractMediaRouteController.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/media/remote/AbstractMediaRouteController.java |
@@ -109,7 +109,7 @@ public abstract class AbstractMediaRouteController implements MediaRouteControll |
}; |
/** True if we are waiting for the MediaRouter route to connect or reconnect */ |
- private boolean mConnectionFailureNotifierQueued = false; |
+ private boolean mConnectionFailureNotifierQueued; |
private void clearConnectionFailureCallback() { |
getHandler().removeCallbacks(mConnectionFailureNotifier); |
@@ -163,7 +163,7 @@ public abstract class AbstractMediaRouteController implements MediaRouteControll |
private final DeviceSelectionCallback mDeviceSelectionCallback; |
private final Handler mHandler; |
- private boolean mIsPrepared = false; |
+ private boolean mIsPrepared; |
private final MediaRouter mMediaRouter; |
@@ -180,12 +180,12 @@ public abstract class AbstractMediaRouteController implements MediaRouteControll |
// two player states. |
private PlayerState mRemotePlayerState = PlayerState.FINISHED; |
private PlayerState mDisplayedPlayerState = PlayerState.FINISHED; |
- private boolean mRoutesAvailable = false; |
+ private boolean mRoutesAvailable; |
private final Set<UiListener> mUiListeners; |
- private boolean mWatchingRouteSelection = false; |
+ private boolean mWatchingRouteSelection; |
- private long mMediaElementAttachedTimestampMs = 0; |
- private long mMediaElementDetachedTimestampMs = 0; |
+ private long mMediaElementAttachedTimestampMs; |
+ private long mMediaElementDetachedTimestampMs; |
protected AbstractMediaRouteController() { |
mContext = ContextUtils.getApplicationContext(); |