diff options
| author | Po Lu | 2023-02-09 22:56:41 +0800 |
|---|---|---|
| committer | Po Lu | 2023-02-09 22:56:41 +0800 |
| commit | 209ae003b7444d2e9b195db9475ddbdefa8f9c64 (patch) | |
| tree | 5826ded6dffda28fb76300c3df8222432771c6fd /java/res | |
| parent | f0f45ab10d9599c1dfe44ace8fe6b604de0b2935 (diff) | |
| download | emacs-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.xml | 22 | ||||
| -rw-r--r-- | java/res/values/bool.xml | 22 |
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 | |||
| 3 | Copyright (C) 2023 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 3 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along 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 | |||
| 3 | Copyright (C) 2023 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 3 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. --> | ||
| 19 | |||
| 20 | <resources> | ||
| 21 | <bool name="isAtLeastKitKat">false</bool> | ||
| 22 | </resources> | ||