Commit 5468fab2 authored by Vitalii Iarko's avatar Vitalii Iarko Committed by Commit Bot

Fix mistake in obtaining DownloadsFilter icons by file type.

Previously, |getIconResId| returned 36dp |text| icon, when it was
supposed to return |file| icon. This CL fixes this.

Bug:726611

Change-Id: I8763d313185ae6bdc2854a776f831b4900e7310b
Reviewed-on: https://chromium-review.googlesource.com/517062Reviewed-by: default avatarMin Qin <qinmin@chromium.org>
Reviewed-by: default avatarTheresa Wellington <twellington@chromium.org>
Commit-Queue: vitaliii <vitaliii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#476223}
parent ba208669
......@@ -834,7 +834,7 @@ public class DownloadUtils {
: R.drawable.ic_drive_text_white_36dp;
default:
return iconSize == ICON_SIZE_24_DP ? R.drawable.ic_drive_file_white_24dp
: R.drawable.ic_drive_text_white_36dp;
: R.drawable.ic_drive_file_white_36dp;
}
}
......
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