Fix a an IllegalArgumentException bug in Login Anim.
authorDa Risk <da_risk@beem-project.com>
Mon, 03 Oct 2011 10:12:21 +0200
changeset 905 bdaaf0226e93
parent 904 b75998f79089
child 934 6b30719f4de6
Fix a an IllegalArgumentException bug in Login Anim. This bug appears when the application try to unbind the service twice.
src/com/beem/project/beem/ui/LoginAnim.java
--- a/src/com/beem/project/beem/ui/LoginAnim.java	Mon Sep 05 18:10:16 2011 +0200
+++ b/src/com/beem/project/beem/ui/LoginAnim.java	Mon Oct 03 10:12:21 2011 +0200
@@ -151,6 +151,7 @@
 	if (mBinded && mTask.getStatus() != AsyncTask.Status.RUNNING) {
 	    unbindService(mServConn);
 	    mXmppFacade = null;
+	    mBinded = false;
 	}
 	unregisterReceiver(mSslReceiver);
     }