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;