()
| 113 | } |
| 114 | |
| 115 | public void run() { |
| 116 | VirtualCanvas.getInstance().show(splash); |
| 117 | try { |
| 118 | splash.setProgress(SR.MS_CONNECT_TO_ + raccount.JID.getServer(), 30); |
| 119 | //give a chance another thread to finish ui |
| 120 | Thread.sleep(500); |
| 121 | sd.account = raccount; |
| 122 | sd.getService().startConnection(); |
| 123 | |
| 124 | sd.getTheStream().listener = this; |
| 125 | sd.getTheStream().initiateStream(); |
| 126 | } catch (Exception e) { |
| 127 | if (StaticData.Debug) { |
| 128 | e.printStackTrace(); |
| 129 | } |
| 130 | splash.setFailed(); |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | public void connectionTerminated(Exception e) { |
| 135 | } |
nothing calls this directly
no test coverage detected