Remove extra status wrapper method
This commit is contained in:
parent
251f4d6d7f
commit
d2388a5a7e
|
@ -399,10 +399,6 @@ public class Account extends AbstractEntity {
|
|||
return this.avatar;
|
||||
}
|
||||
|
||||
public int getReadableStatusId() {
|
||||
return this.getStatus().getReadableId();
|
||||
}
|
||||
|
||||
public void activateGracePeriod() {
|
||||
this.mEndGracePeriod = SystemClock.elapsedRealtime()
|
||||
+ (Config.CARBON_GRACE_PERIOD * 1000);
|
||||
|
|
|
@ -428,8 +428,7 @@ public class EditAccountActivity extends XmppActivity implements OnAccountUpdate
|
|||
}
|
||||
} else {
|
||||
if (this.mAccount.errorStatus()) {
|
||||
this.mAccountJid.setError(getString(this.mAccount
|
||||
.getReadableStatusId()));
|
||||
this.mAccountJid.setError(getString(this.mAccount.getStatus().getReadableId()));
|
||||
this.mAccountJid.requestFocus();
|
||||
}
|
||||
this.mStats.setVisibility(View.GONE);
|
||||
|
|
Loading…
Reference in New Issue