Fixed typo Goolge -> Google
Removed unnecessary synchronization on data consumers set
in DataCastManager, since everything is called on the UI thread anyways.
- Don't start scanning for Media Routes immediately in DataCastManager,
wait for incrementUiCounter() to be called (like in VideoCastManager)
Renamed CastActivity to VideoCastActivity
Replaced HashSets with ArrayLists for listeners
since iteration performance is more important than avoiding duplicates.
Only start notification service when connected to a Cast device.
VideoCastNotificationService now registers itself on the
VideoCastManager for Ui visibility changes when it's created, instead of
the manager pushing the visibility changes through an Intent to the
service which had the incorrect effect of starting it.
No Intent filter is now required in the manifest declaration of
VideoCastNotificationService.