diff options
| author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-09-19 20:56:13 +0200 |
|---|---|---|
| committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-09-19 20:56:13 +0200 |
| commit | c8900e169a1ddceec07a449f1ae7c4322ff02036 (patch) | |
| tree | 5156605fb473d25786426eb6876ba2e7d3b7507b /android/app/src/main/AndroidManifest.xml | |
| parent | 950d2c9b3e10cbace9236e820c8119d1abb9e01f (diff) | |
| parent | e0529da5c84f224c380e6d5e063392cb01f85683 (diff) | |
| download | dragonfireclient-c8900e169a1ddceec07a449f1ae7c4322ff02036.tar.xz | |
Merge branch 'master' of https://github.com/minetest/minetest
Diffstat (limited to 'android/app/src/main/AndroidManifest.xml')
| -rw-r--r-- | android/app/src/main/AndroidManifest.xml | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml new file mode 100644 index 000000000..fa93e7069 --- /dev/null +++ b/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="utf-8"?> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + package="net.minetest.minetest" + android:installLocation="auto"> + + <uses-permission android:name="android.permission.INTERNET" /> + <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> + + <!-- + `android:requestLegacyExternalStorage="true"` is workaround for using `/sdcard` + instead of the `getFilesDir()` patch for assets. Check link below for more information: + https://developer.android.com/training/data-storage/compatibility + --> + + <application + android:allowBackup="false" + android:icon="@mipmap/ic_launcher" + android:label="@string/label" + android:requestLegacyExternalStorage="true" + android:resizeableActivity="false" + tools:ignore="UnusedAttribute"> + + <meta-data + android:name="android.max_aspect" + android:value="3.0" /> + + <activity + android:name=".MainActivity" + android:configChanges="orientation|keyboardHidden|navigation|screenSize" + android:maxAspectRatio="3.0" + android:screenOrientation="sensorLandscape" + android:theme="@style/AppTheme"> + <intent-filter> + <action android:name="android.intent.action.MAIN" /> + <category android:name="android.intent.category.LAUNCHER" /> + </intent-filter> + </activity> + + <activity + android:name=".GameActivity" + android:configChanges="orientation|keyboard|keyboardHidden|navigation|screenSize|smallestScreenSize" + android:hardwareAccelerated="true" + android:launchMode="singleTask" + android:maxAspectRatio="3.0" + android:screenOrientation="sensorLandscape" + android:theme="@style/AppTheme"> + <intent-filter> + <action android:name="android.intent.action.MAIN" /> + </intent-filter> + <meta-data + android:name="android.app.lib_name" + android:value="Minetest" /> + </activity> + + <service + android:name=".UnzipService" + android:enabled="true" + android:exported="false" /> + </application> + +</manifest> |
