diff options
| author | Po Lu | 2024-06-04 10:23:13 +0800 |
|---|---|---|
| committer | Po Lu | 2024-06-04 10:23:13 +0800 |
| commit | 2a699edbe5e1ab39d97b30e8d783763adc0acf9c (patch) | |
| tree | 073883191adbcbb7c6b13fc5fd61b35bf1921f92 | |
| parent | d812e94dde2370869198cc0b2089519be94454ef (diff) | |
| download | emacs-2a699edbe5e1ab39d97b30e8d783763adc0acf9c.tar.gz emacs-2a699edbe5e1ab39d97b30e8d783763adc0acf9c.zip | |
Provide additional Android metadata
* java/AndroidManifest.xml.in: Enable preserving user data
beyond uninstallation, restarting activities without persiting
state, increase maximum number of simultaneously open
activities, and provide a sensible category.
| -rw-r--r-- | java/AndroidManifest.xml.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/java/AndroidManifest.xml.in b/java/AndroidManifest.xml.in index a95b46c3905..ff811ddf3f1 100644 --- a/java/AndroidManifest.xml.in +++ b/java/AndroidManifest.xml.in | |||
| @@ -29,6 +29,8 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. --> | |||
| 29 | android:targetSandboxVersion="1" | 29 | android:targetSandboxVersion="1" |
| 30 | android:installLocation="auto" | 30 | android:installLocation="auto" |
| 31 | android:requestLegacyExternalStorage="true" | 31 | android:requestLegacyExternalStorage="true" |
| 32 | android:hasFragileUserData="true" | ||
| 33 | android:appCategory="productivity" | ||
| 32 | @ANDROID_SHARED_USER_ID@ | 34 | @ANDROID_SHARED_USER_ID@ |
| 33 | @ANDROID_SHARED_USER_NAME@ | 35 | @ANDROID_SHARED_USER_NAME@ |
| 34 | android:versionCode="30" | 36 | android:versionCode="30" |
| @@ -222,6 +224,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. --> | |||
| 222 | android:taskAffinity="emacs.primary_frame" | 224 | android:taskAffinity="emacs.primary_frame" |
| 223 | android:windowSoftInputMode="adjustResize" | 225 | android:windowSoftInputMode="adjustResize" |
| 224 | android:exported="true" | 226 | android:exported="true" |
| 227 | android:stateNotNeeded="true" | ||
| 225 | android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|locale|fontScale"> | 228 | android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|locale|fontScale"> |
| 226 | <intent-filter> | 229 | <intent-filter> |
| 227 | <action android:name="android.intent.action.MAIN" /> | 230 | <action android:name="android.intent.action.MAIN" /> |
| @@ -278,6 +281,8 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. --> | |||
| 278 | android:taskAffinity="emacs.secondary_frame" | 281 | android:taskAffinity="emacs.secondary_frame" |
| 279 | android:windowSoftInputMode="adjustResize" | 282 | android:windowSoftInputMode="adjustResize" |
| 280 | android:exported="true" | 283 | android:exported="true" |
| 284 | android:maxRecents="50" | ||
| 285 | android:stateNotNeeded="true" | ||
| 281 | android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|locale|fontScale"/> | 286 | android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|locale|fontScale"/> |
| 282 | 287 | ||
| 283 | <activity android:autoRemoveFromRecents="true" | 288 | <activity android:autoRemoveFromRecents="true" |