aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/AndroidManifest.xml.in15
-rw-r--r--java/incrementing-version-code12
2 files changed, 15 insertions, 12 deletions
diff --git a/java/AndroidManifest.xml.in b/java/AndroidManifest.xml.in
index 6243c5e13ba..92b63925ef4 100644
--- a/java/AndroidManifest.xml.in
+++ b/java/AndroidManifest.xml.in
@@ -338,3 +338,18 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. -->
338 android:label="GNU Emacs service"/> 338 android:label="GNU Emacs service"/>
339 </application> 339 </application>
340</manifest> 340</manifest>
341
342<!-- Auto-incrementing version code.
343
344This comment contains an Android version code
345(https://developer.android.com/studio/publish/versioning#versioningsettings)
346corresponding to the current Emacs version. The version code in
347AndroidManifest.xml.in is hard-coded to a fixed value to facilitate
348package downgrades. Some automated systems employed by Android package
349repositories require an incrementing numeric version code to detect
350upgrades, which is provided here and is altered by admin/admin.el.
351Refer to e.g. https://forum.f-droid.org/t/emacs-packaging/30424/25.
352
353Version-code: 300050000
354
355-->
diff --git a/java/incrementing-version-code b/java/incrementing-version-code
index fed5b627275..e69de29bb2d 100644
--- a/java/incrementing-version-code
+++ b/java/incrementing-version-code
@@ -1,12 +0,0 @@
1; This file contains an Android version code
2; (https://developer.android.com/studio/publish/versioning#versioningsettings)
3; corresponding to the current Emacs version.
4;
5; The version code in AndroidManifest.xml.in is hard-coded to a fixed
6; value, to make package downgrades possible. Where an incrementing
7; version code is required (for example, for automated F-Droid package
8; builds (https://f-droid.org/packages/org.gnu.emacs/)), the version
9; code in this file should be referred to and patched in to
10; AndroidManifest.xml.
11
12300093000