googlecast/CastCompanionLibrary-android — pull request #54 by piusvelte (2014-04-21 00:04:44+00:00)
Title: Set the Context in incrementUiCounter, which should be called in onResum...

...e by Activities.

The Context is cleared when VideoCastControllerFragment is destroyed, leaving Activities
vulnerable to NPE's when attempting to handle notifications or creating the ApiClient
for reconnecting.