From ce66228ac538949d9dda2fc759982600344c7a5e Mon Sep 17 00:00:00 2001 From: Po Lu Date: Thu, 16 Mar 2023 14:13:21 +0800 Subject: [PATCH] Update Android port * java/org/gnu/emacs/EmacsDocumentsProvider.java (queryRoots): Add icon to document root. --- java/org/gnu/emacs/EmacsDocumentsProvider.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java/org/gnu/emacs/EmacsDocumentsProvider.java b/java/org/gnu/emacs/EmacsDocumentsProvider.java index f70da6040ff..a92a1a5d330 100644 --- a/java/org/gnu/emacs/EmacsDocumentsProvider.java +++ b/java/org/gnu/emacs/EmacsDocumentsProvider.java @@ -66,6 +66,7 @@ public final class EmacsDocumentsProvider extends DocumentsProvider Root.COLUMN_ROOT_ID, Root.COLUMN_MIME_TYPES, Root.COLUMN_FLAGS, + Root.COLUMN_ICON, Root.COLUMN_TITLE, Root.COLUMN_SUMMARY, Root.COLUMN_DOCUMENT_ID, @@ -116,6 +117,7 @@ public final class EmacsDocumentsProvider extends DocumentsProvider row.add (Root.COLUMN_FLAGS, (Root.FLAG_SUPPORTS_CREATE | Root.FLAG_SUPPORTS_IS_CHILD)); + row.add (Root.COLUMN_ICON, R.drawable.emacs); row.add (Root.FLAG_LOCAL_ONLY); row.add (Root.COLUMN_TITLE, "Emacs"); row.add (Root.COLUMN_DOCUMENT_ID, baseDir.getAbsolutePath ()); -- 2.39.2