freezy/android-xbmcremote-sandbox — pull request #13 by jstemmer (2012-01-12 20:39:41+00:00)
Title: Fix dashboard reload button after orientation change

The reload button on the dashboard didn't work after a screen orientation change. The syncbridge couldn't get its activity: getActivity was null in AbstractSyncBridge line 103.

I suspect this is because it was detached from its original activity since an orientation change destroys the activity. I've fixed this by removing the existing syncbridge in the ReloadableActionBarActivitiy#onCreate if it existed before and adding it again.