code: @Implementation(minSdk = P)
    protected static void nativeDestroy(long ptr) {
      if (ptr == systemCppAssetManager2Ref) {
        // don't destroy the shared system CppAssetManager2!
        return;
      }
  
      // delete reinterpret_cast<GuardedAssetManager*>(ptr);
      Registries.NATIVE_ASSET_MANAGER_REGISTRY.unregister(ptr);
    }
docs: static void NativeDestroy(JNIEnv* /*env*/, jclass /*clazz*/, jlong ptr) {