code: private void disposeObtainedResult(SignInResult result, int rstCode) {
          if(result.isSuccess()){
              //可以获取帐号的 openid，昵称，头像 at信息
              SignInHuaweiId account = result.getSignInHuaweiId();
              onSignInResult(rstCode, account);
          } else {
              if(rstCode == HuaweiIdStatusCodes.SIGN_IN_UNLOGIN
                      || rstCode == HuaweiIdStatusCodes.SIGN_IN_AUTH
                      || rstCode == HuaweiIdStatusCodes.SIGN_IN_CHECK_PASSWORD){
                  Activity curActivity = ActivityMgr.INST.getLastActivity();
                  if (curActivity == null) {
                      HMSAgentLog.e("activity is null");
                      onSignInResult(HMSAgent.AgentResultCode.NO_ACTIVITY_FOR_USE, null);
                      return;
                  }
  
                  try {
                      signInResultForDispose = result;
                      Intent nxtIntent = new Intent(curActivity, HMSSignInAgentActivity.class);
                      curActivity.startActivity(nxtIntent);
                  } catch (Exception e) {
                      HMSAgentLog.e("start HMSSignInAgentActivity error:" + e.getMessage());
                      onSignInResult(HMSAgent.AgentResultCode.START_ACTIVITY_ERROR, null);
                  }
              } else {
                  onSignInResult(rstCode, null);
              }
          }
      }
docs: 处理回调的result
  @param result 回调的result
  @param rstCode 业务结果码