Commit 788c19b1 authored by Natalie Chouinard's avatar Natalie Chouinard Committed by Commit Bot

Fix DownloadDirectoryAdapter ImageView ID

The ImageView id in modern_list_item_view was changed from "icon_view"
to "start_icon" (https://crrev.com/c/2024495) causing an NPE when the
"Download file" dialog's dropdown is clicked.

Bug: 1047883
Change-Id: I656562af3af4ada9e602c176c5d10abc035c9b4d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2033929
Commit-Queue: Natalie Chouinard <chouinard@chromium.org>
Reviewed-by: default avatarBrandon Wylie <wylieb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#737541}
parent 0da6f161
......@@ -145,7 +145,7 @@ public class DownloadDirectoryAdapter extends ArrayAdapter<Object> {
}
}
ImageView imageView = view.findViewById(R.id.icon_view);
ImageView imageView = view.findViewById(R.id.start_icon);
imageView.setVisibility(View.GONE);
return view;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment