Remove extra status wrapper method

This commit is contained in:
Sam Whited 2014-11-15 11:31:15 -05:00
parent 251f4d6d7f
commit d2388a5a7e
2 changed files with 1 additions and 6 deletions

View file

@ -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);

View file

@ -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);