aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
authorPo Lu2023-02-09 22:56:41 +0800
committerPo Lu2023-02-09 22:56:41 +0800
commit209ae003b7444d2e9b195db9475ddbdefa8f9c64 (patch)
tree5826ded6dffda28fb76300c3df8222432771c6fd /java/res
parentf0f45ab10d9599c1dfe44ace8fe6b604de0b2935 (diff)
downloademacs-209ae003b7444d2e9b195db9475ddbdefa8f9c64.tar.gz
emacs-209ae003b7444d2e9b195db9475ddbdefa8f9c64.zip
Allow other text editors to edit files in Emacs' home directory
* java/AndroidManifest.xml.in: Declare the new documents provider. * java/README: Describe the meaning of files in res/values. * java/org/gnu/emacs/EmacsDocumentsProvider.java (EmacsDocumentsProvider): New file. * java/res/values-v19/bool.xml: * java/res/values/bool.xml: New files.
Diffstat (limited to 'java/res')
-rw-r--r--java/res/values-v19/bool.xml22
-rw-r--r--java/res/values/bool.xml22
2 files changed, 44 insertions, 0 deletions
diff --git a/java/res/values-v19/bool.xml b/java/res/values-v19/bool.xml
new file mode 100644
index 00000000000..a4e3a87ae71
--- /dev/null
+++ b/java/res/values-v19/bool.xml
@@ -0,0 +1,22 @@
1<!-- Boolean resources for GNU Emacs on Android 4.4 or later.
2
3Copyright (C) 2023 Free Software Foundation, Inc.
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. -->
19
20<resources>
21 <bool name="isAtLeastKitKat">true</bool>
22</resources>
diff --git a/java/res/values/bool.xml b/java/res/values/bool.xml
new file mode 100644
index 00000000000..d37eab745c0
--- /dev/null
+++ b/java/res/values/bool.xml
@@ -0,0 +1,22 @@
1<!-- Boolean resources for GNU Emacs on Android.
2
3Copyright (C) 2023 Free Software Foundation, Inc.
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. -->
19
20<resources>
21 <bool name="isAtLeastKitKat">false</bool>
22</resources>