diff options
| author | Po Lu | 2023-03-16 14:13:21 +0800 |
|---|---|---|
| committer | Po Lu | 2023-03-16 14:13:21 +0800 |
| commit | ce66228ac538949d9dda2fc759982600344c7a5e (patch) | |
| tree | a4134ef7346a8666170416a60ee6f86843b74b90 /java | |
| parent | d04731b5885957150b54efaa40fdf712b30170ff (diff) | |
| download | emacs-ce66228ac538949d9dda2fc759982600344c7a5e.tar.gz emacs-ce66228ac538949d9dda2fc759982600344c7a5e.zip | |
Update Android port
* java/org/gnu/emacs/EmacsDocumentsProvider.java (queryRoots): Add
icon to document root.
Diffstat (limited to 'java')
| -rw-r--r-- | java/org/gnu/emacs/EmacsDocumentsProvider.java | 2 |
1 files changed, 2 insertions, 0 deletions
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 | |||
| 66 | Root.COLUMN_ROOT_ID, | 66 | Root.COLUMN_ROOT_ID, |
| 67 | Root.COLUMN_MIME_TYPES, | 67 | Root.COLUMN_MIME_TYPES, |
| 68 | Root.COLUMN_FLAGS, | 68 | Root.COLUMN_FLAGS, |
| 69 | Root.COLUMN_ICON, | ||
| 69 | Root.COLUMN_TITLE, | 70 | Root.COLUMN_TITLE, |
| 70 | Root.COLUMN_SUMMARY, | 71 | Root.COLUMN_SUMMARY, |
| 71 | Root.COLUMN_DOCUMENT_ID, | 72 | Root.COLUMN_DOCUMENT_ID, |
| @@ -116,6 +117,7 @@ public final class EmacsDocumentsProvider extends DocumentsProvider | |||
| 116 | 117 | ||
| 117 | row.add (Root.COLUMN_FLAGS, (Root.FLAG_SUPPORTS_CREATE | 118 | row.add (Root.COLUMN_FLAGS, (Root.FLAG_SUPPORTS_CREATE |
| 118 | | Root.FLAG_SUPPORTS_IS_CHILD)); | 119 | | Root.FLAG_SUPPORTS_IS_CHILD)); |
| 120 | row.add (Root.COLUMN_ICON, R.drawable.emacs); | ||
| 119 | row.add (Root.FLAG_LOCAL_ONLY); | 121 | row.add (Root.FLAG_LOCAL_ONLY); |
| 120 | row.add (Root.COLUMN_TITLE, "Emacs"); | 122 | row.add (Root.COLUMN_TITLE, "Emacs"); |
| 121 | row.add (Root.COLUMN_DOCUMENT_ID, baseDir.getAbsolutePath ()); | 123 | row.add (Root.COLUMN_DOCUMENT_ID, baseDir.getAbsolutePath ()); |