@Override public void execute(Bundle bundle) { QBUser user = (QBUser) bundle.getSerializable(QBServiceConsts.EXTRA_USER); saveUserCredentials(user); ToastUtils.longToast(R.string.dlg_password_changed); logoutChat(); }
@Override public void execute(Bundle bundle) { Exception exception = (Exception) bundle.getSerializable(QBServiceConsts.EXTRA_ERROR); if (exception != null) { ToastUtils.longToast(exception.getMessage()); } updatePasswords(oldPasswordText, oldPasswordText); clearFieldNewPassword(); hideProgress(); }