diff --git a/engine/src/flutter/shell/platform/android/platform_view_android_jni.cc b/engine/src/flutter/shell/platform/android/platform_view_android_jni.cc index de5b1df4612..30fc565c842 100644 --- a/engine/src/flutter/shell/platform/android/platform_view_android_jni.cc +++ b/engine/src/flutter/shell/platform/android/platform_view_android_jni.cc @@ -215,8 +215,7 @@ static void RunBundleAndSnapshot( bundlepath)); } else { asset_manager->PushBack(std::make_unique( - fml::OpenFile(bundlepath.c_str(), fml::OpenPermission::kRead, true), - bundlepath)); + fml::OpenFile(bundlepath.c_str(), fml::OpenPermission::kRead, true))); } // Use the last path component of the bundle path to determine the