code: public void registerActivitPauseEvent(IActivityPauseCallback callback) {
          HMSAgentLog.d("registerOnPause:" + StrUtils.objDesc(callback));
          pauseCallbacks.add(callback);
      }
docs: 注册activity onPause 事件回调 | Registering an Activity OnPause event Callback
  @param callback activity onPause 事件回调 | Activity OnPause Event Callback