aboutsummaryrefslogtreecommitdiff
path: root/build/android/src/main/AndroidManifest.xml
blob: 7f61cda38d8f8cfdd60d59be1826731a9a437d43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
	package="net.minetest.minetest"
	android:installLocation="auto">

	<uses-feature
		android:glEsVersion="0x00010000"
		android:required="true" />

	<uses-permission android:name="android.permission.INTERNET" />
	<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

	<application
		android:allowBackup="true"
		android:icon="@mipmap/ic_launcher"
		android:label="${project}"
		android:resizeableActivity="false">

		<meta-data
			android:name="android.max_aspect"
			android:value="2.1" />

		<activity
			android:name=".MainActivity"
			android:configChanges="orientation|keyboardHidden|navigation|screenSize"
			android:label="${project}"
			android:launchMode="singleTask"
			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=".MtNativeActivity"
			android:configChanges="orientation|keyboard|keyboardHidden|navigation|screenSize|smallestScreenSize"
			android:hardwareAccelerated="true"
			android:launchMode="singleTask"
			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>
		<activity
			android:name=".MinetestTextEntry"
			android:configChanges="keyboardHidden|orientation|screenSize"
			android:theme="@style/Theme.Dialog"
			android:windowSoftInputMode="stateAlwaysHidden"/>
		<activity
			android:name=".MinetestAssetCopy"
			android:screenOrientation="sensorLandscape"
			android:theme="@style/AppTheme"/>
	</application>
</manifest>