code: @Implementation(minSdk = P)
    protected static @Nullable String nativeGetResourcePackageName(long ptr,
        @AnyRes int resid) {
      CppAssetManager2 assetmanager = AssetManagerFromLong(ptr);
      final ResourceName name = new ResourceName();
      if (!assetmanager.GetResourceName(resid, name)) {
        return null;
      }
  
      if (name.package_ != null) {
        return name.package_;
      }
      return null;
    }
docs: static jstring NativeGetResourcePackageName(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid) {