- Removed code that is unnecessary when the VideoCastManager is
initialized in Application.onCreate() as it should always be.
VideoIntentReceiver now always responds to play/pause and disconnect
Intents instead of passing them to VideoCastNotificationService when
VideoCastManager is not yet initialized.
- Removed CastException from method signatures where it's not actually
thrown.
- Removing the pain of calling VideoCastManager.getInstance() by making
it throw an IllegalStateException when not initialized instead of a
checked CastException.
Ignore lint warning for layout inflation in MediaRouteControllerDialog
Simplified code of incrementUiCounter and decrementUiCounter and exposed
the Ui visibility to other components.