code: void onResolveErrorRst(int result) {
          HMSAgentLog.d("result="+result);
          isResolving = false;
          resolveActivity = null;
          hasOverActivity = false;
  
          if(result == ConnectionResult.SUCCESS) {
              HuaweiApiClient client =  getApiClient();
              if (client != null && !client.isConnecting() && !client.isConnected() && curLeftResolveTimes > 0) {
                  startConnect();
                  return;
              }
          }
  
          onConnectEnd(result);
      }
docs: connect fail 解决结果回调， 由 HMSAgentActivity 在 onActivityResult 中调用
  @param result 解决结果