question: protected void onActivitiesDestroyed ( ) { ApplicationStatus . unregisterApplicationStateListener ( mApplicationStateListener ) ; disconnect ( false ) ; }
target:  Called when the main activity receives an onDestroy() call.