@@ 68,6 68,7 @@ public class CephFSDocumentsProvider extends DocumentsProvider {
Document.COLUMN_SIZE,
Document.COLUMN_FLAGS,
Document.COLUMN_SUMMARY,
+ Document.COLUMN_ICON,
};
private static String APP_NAME;
@@ 290,6 291,7 @@ public class CephFSDocumentsProvider extends DocumentsProvider {
flags |= Document.FLAG_PARTIAL;
var target = executor.executeWithUnchecked(cm -> cm.readlink(dir + displayName));
row.add(Document.COLUMN_SUMMARY, "Broken symlink to " + target);
+ row.add(Document.COLUMN_ICON, R.drawable.ic_broken_symlink);
} if (cs.isDir()) {
if (mayWrite(cs)) {
flags |= Document.FLAG_DIR_SUPPORTS_CREATE;
@@ 0,0 1,9 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="960"
+ android:viewportHeight="960">
+ <path
+ android:fillColor="#ff5722"
+ android:pathData="M770,658L710,596Q750,585 775,553.5Q800,522 800,480Q800,430 765,395Q730,360 680,360L520,360L520,280L680,280Q763,280 821.5,338.5Q880,397 880,480Q880,537 850.5,585Q821,633 770,658ZM634,520L554,440L640,440L640,520L634,520ZM792,904L56,168L112,112L848,848L792,904ZM440,680L280,680Q197,680 138.5,621.5Q80,563 80,480Q80,411 122,357Q164,303 230,286L230,286L304,360L280,360Q230,360 195,395Q160,430 160,480Q160,530 195,565Q230,600 280,600L440,600L440,680ZM320,520L320,440L385,440L464,520L320,520Z"/>
+</vector>