code: public void registerActivitDestroyedEvent(IActivityDestroyedCallback callback) {
          HMSAgentLog.d("registerOnDestroyed:" + StrUtils.objDesc(callback));
          destroyedCallbacks.add(callback);
      }
docs: 注册activity onDestroyed 事件回调 | Registering an Activity ondestroyed event Callback
  @param callback activity onDestroyed 事件回调 | Activity Ondestroyed Event Callback