removed dead code
This commit is contained in:
		
							parent
							
								
									cac577fa4e
								
							
						
					
					
						commit
						efdf3b6c1c
					
				|  | @ -81,7 +81,6 @@ public class XmppConnection implements Runnable { | ||||||
| 	private static final int PACKET_IQ = 0; | 	private static final int PACKET_IQ = 0; | ||||||
| 	private static final int PACKET_MESSAGE = 1; | 	private static final int PACKET_MESSAGE = 1; | ||||||
| 	private static final int PACKET_PRESENCE = 2; | 	private static final int PACKET_PRESENCE = 2; | ||||||
| 	private final Context applicationContext; |  | ||||||
| 	protected Account account; | 	protected Account account; | ||||||
| 	private final WakeLock wakeLock; | 	private final WakeLock wakeLock; | ||||||
| 	private Socket socket; | 	private Socket socket; | ||||||
|  | @ -123,7 +122,6 @@ public class XmppConnection implements Runnable { | ||||||
| 				PowerManager.PARTIAL_WAKE_LOCK, account.getJid().toBareJid().toString()); | 				PowerManager.PARTIAL_WAKE_LOCK, account.getJid().toBareJid().toString()); | ||||||
| 		tagWriter = new TagWriter(); | 		tagWriter = new TagWriter(); | ||||||
| 		mXmppConnectionService = service; | 		mXmppConnectionService = service; | ||||||
| 		applicationContext = service.getApplicationContext(); |  | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	protected void changeStatus(final Account.State nextStatus) { | 	protected void changeStatus(final Account.State nextStatus) { | ||||||
|  | @ -531,14 +529,6 @@ public class XmppConnection implements Runnable { | ||||||
| 		tagWriter.writeTag(startTLS); | 		tagWriter.writeTag(startTLS); | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	private SharedPreferences getPreferences() { |  | ||||||
| 		return PreferenceManager.getDefaultSharedPreferences(applicationContext); |  | ||||||
| 	} |  | ||||||
| 
 |  | ||||||
| 	private boolean enableLegacySSL() { |  | ||||||
| 		return getPreferences().getBoolean("enable_legacy_ssl", false); |  | ||||||
| 	} |  | ||||||
| 
 |  | ||||||
| 	private void switchOverToTls(final Tag currentTag) throws XmlPullParserException, IOException { | 	private void switchOverToTls(final Tag currentTag) throws XmlPullParserException, IOException { | ||||||
| 		tagReader.readTag(); | 		tagReader.readTag(); | ||||||
| 		try { | 		try { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Daniel Gultsch
						Daniel Gultsch