Skip to content

Commit

Permalink
ThumbnailUtil: treat log as text file
Browse files Browse the repository at this point in the history
  • Loading branch information
codekidX committed May 25, 2017
1 parent d198c47 commit 89ceea8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public class ThumbnailUtil {

// Constant extensions
private static final String TEXT_FILE = "txt";
private static final String LOG_FILE = "log";
private static final String CSV_FILE = "csv";
private static final String PROP_FILE = "prop";

Expand Down Expand Up @@ -71,7 +72,8 @@ private void thumbnailPipe(ImageView imageView, String filePath) {
case CSV_FILE:
case DOC_FILE:
case PROP_FILE:
imageView.setImageDrawable(getDrawableFromRes(R.drawable.doc));
case LOG_FILE:
imageView.setImageDrawable(getDrawableFromRes(R.drawable.doc));
break;
case VIDEO_FILE:
case VIDEO_AVI_FILE:
Expand Down

0 comments on commit 89ceea8

Please sign in to comment.