コード例 #1
0
 @Override
 public void execute(Bundle bundle) {
   QBUser user = (QBUser) bundle.getSerializable(QBServiceConsts.EXTRA_USER);
   saveUserCredentials(user);
   ToastUtils.longToast(R.string.dlg_password_changed);
   logoutChat();
 }
コード例 #2
0
    @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();
    }