dirkmoors/MqttService — pull request #2 by binarybucks (2013-02-10 11:40:43+00:00)
Title: Checking if the user has requested a disconnect before connecting

While adapting the service for my project, I found it handy to check if the connection status is NOTCONNECTED_USERDISCONNECT to prevent connects during activity switches after the user has explicitly requested a disconnect.