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;
|
return this.avatar;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getReadableStatusId() {
|
|
||||||
return this.getStatus().getReadableId();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void activateGracePeriod() {
|
public void activateGracePeriod() {
|
||||||
this.mEndGracePeriod = SystemClock.elapsedRealtime()
|
this.mEndGracePeriod = SystemClock.elapsedRealtime()
|
||||||
+ (Config.CARBON_GRACE_PERIOD * 1000);
|
+ (Config.CARBON_GRACE_PERIOD * 1000);
|
||||||
|
|
|
@ -428,8 +428,7 @@ public class EditAccountActivity extends XmppActivity implements OnAccountUpdate
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (this.mAccount.errorStatus()) {
|
if (this.mAccount.errorStatus()) {
|
||||||
this.mAccountJid.setError(getString(this.mAccount
|
this.mAccountJid.setError(getString(this.mAccount.getStatus().getReadableId()));
|
||||||
.getReadableStatusId()));
|
|
||||||
this.mAccountJid.requestFocus();
|
this.mAccountJid.requestFocus();
|
||||||
}
|
}
|
||||||
this.mStats.setVisibility(View.GONE);
|
this.mStats.setVisibility(View.GONE);
|
||||||
|
|
Loading…
Reference in a new issue