diff options
| author | Po Lu | 2024-06-04 10:03:01 +0800 |
|---|---|---|
| committer | Po Lu | 2024-06-04 10:03:01 +0800 |
| commit | d812e94dde2370869198cc0b2089519be94454ef (patch) | |
| tree | 60dde66edb7e3d0fd98d73f03e1e8d7de7f2b73c /java | |
| parent | fe79a6ff507670a2ab79fca060c2727fcd0a4dae (diff) | |
| download | emacs-d812e94dde2370869198cc0b2089519be94454ef.tar.gz emacs-d812e94dde2370869198cc0b2089519be94454ef.zip | |
Enable downgrading between this and future releases of Emacs
* java/AndroidManifest.xml.in: Fix `versionCode' at 30.
Diffstat (limited to 'java')
| -rw-r--r-- | java/AndroidManifest.xml.in | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/java/AndroidManifest.xml.in b/java/AndroidManifest.xml.in index f1047ac41d8..a95b46c3905 100644 --- a/java/AndroidManifest.xml.in +++ b/java/AndroidManifest.xml.in | |||
| @@ -17,8 +17,12 @@ GNU General Public License for more details. | |||
| 17 | You should have received a copy of the GNU General Public License | 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/>. --> | 18 | along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. --> |
| 19 | 19 | ||
| 20 | <!-- targetSandboxVersion must be 1. Otherwise, fascist security | 20 | <!-- targetSandboxVersion must be 1, for otherwise fascist security |
| 21 | restrictions prevent Emacs from making HTTP connections. --> | 21 | restrictions prevent Emacs from making HTTP connections. |
| 22 | |||
| 23 | Futhermore, versionCode should remain constant, rather than increase | ||
| 24 | with each major release, because it is impossible to downgrade an | ||
| 25 | installation with a greater value to an older version of Emacs. --> | ||
| 22 | 26 | ||
| 23 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" | 27 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 24 | package="org.gnu.emacs" | 28 | package="org.gnu.emacs" |
| @@ -27,7 +31,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. --> | |||
| 27 | android:requestLegacyExternalStorage="true" | 31 | android:requestLegacyExternalStorage="true" |
| 28 | @ANDROID_SHARED_USER_ID@ | 32 | @ANDROID_SHARED_USER_ID@ |
| 29 | @ANDROID_SHARED_USER_NAME@ | 33 | @ANDROID_SHARED_USER_NAME@ |
| 30 | android:versionCode="@emacs_major_version@" | 34 | android:versionCode="30" |
| 31 | android:versionName="@version@"> | 35 | android:versionName="@version@"> |
| 32 | 36 | ||
| 33 | <!-- Paste in every permission in existence so Emacs can do | 37 | <!-- Paste in every permission in existence so Emacs can do |
| @@ -286,9 +290,9 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. --> | |||
| 286 | </intent-filter> | 290 | </intent-filter> |
| 287 | </activity> | 291 | </activity> |
| 288 | 292 | ||
| 289 | <!-- Android 6 and earlier don't display ``application | 293 | <!-- Android 6 and earlier don't display ``application preferences'' |
| 290 | preferences'' activities in Settings, so display the | 294 | activities in Settings, so display the preferences activity as |
| 291 | preferences activity as a launcher icon instead. --> | 295 | a launcher icon instead. --> |
| 292 | 296 | ||
| 293 | <activity android:autoRemoveFromRecents="true" | 297 | <activity android:autoRemoveFromRecents="true" |
| 294 | android:label="Emacs options" | 298 | android:label="Emacs options" |