Skip to content

Commit

Permalink
documents provider: fix application icon reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonid Pliushch committed Feb 3, 2021
1 parent 7be1fe5 commit 6e2a2ed
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public Cursor queryRoots(String[] projection) throws FileNotFoundException {
row.add(Root.COLUMN_TITLE, applicationName);
row.add(Root.COLUMN_MIME_TYPES, ALL_MIME_TYPES);
row.add(Root.COLUMN_AVAILABLE_BYTES, BASE_DIR.getFreeSpace());
row.add(Root.COLUMN_ICON, R.drawable.ic_launcher);
row.add(Root.COLUMN_ICON, R.mipmap.ic_launcher);
return result;
}

Expand Down Expand Up @@ -262,7 +262,7 @@ private void includeFile(MatrixCursor result, String docId, File file)
row.add(Document.COLUMN_MIME_TYPE, mimeType);
row.add(Document.COLUMN_LAST_MODIFIED, file.lastModified());
row.add(Document.COLUMN_FLAGS, flags);
row.add(Document.COLUMN_ICON, R.drawable.ic_launcher);
row.add(Document.COLUMN_ICON, R.mipmap.ic_launcher);
}

}

0 comments on commit 6e2a2ed

Please sign in to comment.