doc/asmack-beem/beem_patches/10-PubSubManager-non-final.patch
author Da Risk <da_risk@beem-project.com>
Fri, 27 Jan 2012 00:05:55 +0100
changeset 964 89dbb4bee206
parent 800 1eefc5da624a
permissions -rw-r--r--
Initialize the xmpp connection config in a background thread. On android > 3.x network operations on the main thread crash the application. This move the dns request made by the ConnectionConfiguration in another thread by lazily initializing the XMPPConnection

Index: org/jivesoftware/smackx/pubsub/PubSubManager.java
===================================================================
--- org/jivesoftware/smackx/pubsub/PubSubManager.java	(revision 11464)
+++ org/jivesoftware/smackx/pubsub/PubSubManager.java	(working copy)
@@ -41,7 +41,7 @@
  * 
  * @author Robin Collier
  */
-final public class PubSubManager
+public class PubSubManager
 {
 	private XMPPConnection con;
 	private String to;