don't overwrite edited information in editaccount on rotate
This commit is contained in:
		
							parent
							
								
									ea0e6d0619
								
							
						
					
					
						commit
						78e962ce67
					
				| @ -626,10 +626,12 @@ public class EditAccountActivity extends XmppActivity implements OnAccountUpdate | ||||
| 
 | ||||
| 	@Override | ||||
| 	protected void onBackendConnected() { | ||||
| 		boolean init = true; | ||||
| 		if (mSavedInstanceAccount != null) { | ||||
| 			try { | ||||
| 				this.mAccount = xmppConnectionService.findAccountByJid(Jid.fromString(mSavedInstanceAccount)); | ||||
| 				this.mInitMode = mSavedInstanceInit; | ||||
| 				init = false; | ||||
| 			} catch (InvalidJidException e) { | ||||
| 				this.mAccount = null; | ||||
| 			} | ||||
| @ -647,7 +649,7 @@ public class EditAccountActivity extends XmppActivity implements OnAccountUpdate | ||||
| 					this.mPassword.requestFocus(); | ||||
| 				} | ||||
| 			} | ||||
| 			updateAccountInformation(true); | ||||
| 			updateAccountInformation(init); | ||||
| 		} | ||||
| 
 | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Daniel Gultsch
						Daniel Gultsch