code: public void release() {
          HMSAgentLog.d("release");
          if (application != null) {
              application.unregisterActivityLifecycleCallbacks(this);
          }
  
          clearCurActivities();
          clearActivitResumeCallbacks();
          clearActivitPauseCallbacks();
          application = null;
      }
docs: 释放资源，一般不需要调用 | Frees resources, and generally does not need to call