diff --git a/android/java/org/chromium/chrome/browser/playlist/kotlin/util/PlaylistUtils.kt b/android/java/org/chromium/chrome/browser/playlist/kotlin/util/PlaylistUtils.kt index 350694c40c77..e4ca193b128a 100644 --- a/android/java/org/chromium/chrome/browser/playlist/kotlin/util/PlaylistUtils.kt +++ b/android/java/org/chromium/chrome/browser/playlist/kotlin/util/PlaylistUtils.kt @@ -104,7 +104,7 @@ object PlaylistUtils { fun loadPlaylistImage(imageView:ImageView, imagePath:String, placeholderRes: Int) { PostTask.postTask(TaskTraits.UI_DEFAULT) { - val imgFile = File(imagePath) + val imgFile = File(imagePath.replace("file://", "")) if (imgFile.exists()) { val bitmap = BitmapFactory.decodeFile(imgFile.absolutePath) imageView.setImageBitmap(bitmap)