code: @Override
      public void onActivityResume(Activity activity) {
          // 通知hmssdk activity onResume了
          HuaweiApiClient client = getApiClient();
          if (client != null) {
              HMSAgentLog.d("tell hmssdk: onResume");
              client.onResume(activity);
          }
  
          // 如果正在解决错误，则处理被覆盖的场景
          HMSAgentLog.d("is resolving:" + isResolving);
          if (isResolving && !PACKAGE_NAME_HIAPP.equals(curAppPackageName)) {
              if (activity instanceof BridgeActivity) {
                  resolveActivity = (BridgeActivity)activity;
                  hasOverActivity = false;
                  HMSAgentLog.d("received bridgeActivity:" + StrUtils.objDesc(resolveActivity));
              } else if (resolveActivity != null && !resolveActivity.isFinishing()){
                  hasOverActivity = true;
                  HMSAgentLog.d("received other Activity:" + StrUtils.objDesc(resolveActivity));
              }
              timeoutHandler.removeMessages(UPDATE_OVER_ACTIVITY_CHECK_TIMEOUT_HANDLE_MSG);
              timeoutHandler.sendEmptyMessageDelayed(UPDATE_OVER_ACTIVITY_CHECK_TIMEOUT_HANDLE_MSG, UPDATE_OVER_ACTIVITY_CHECK_TIMEOUT);
          }
      }
docs: Activity onResume回调
  
  @param activity 发生 onResume 事件的activity