Debian Codegraph @

platform/android/java/editor/src/main/AndroidManifest.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8"?>
2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:tools="http://schemas.android.com/tools"
4 android:installLocation="auto">
5
6 <queries>
7 <package android:name="org.godotengine.godot_gradle_build_environment" />
8 </queries>
9
10 <supports-screens
11 android:largeScreens="true"
12 android:normalScreens="true"
13 android:smallScreens="false"
14 android:xlargeScreens="true" />
15
16 <uses-feature
17 android:glEsVersion="0x00030000"
18 android:required="true" />
19 <uses-feature
20 android:name="android.hardware.camera"
21 android:required="false" />
22
23 <uses-permission
24 android:name="android.permission.MANAGE_EXTERNAL_STORAGE"
25 tools:ignore="ScopedStorage" />
26 <uses-permission
27 android:name="android.permission.WRITE_EXTERNAL_STORAGE"
28 android:maxSdkVersion="29" />
29 <uses-permission
30 android:name="android.permission.READ_EXTERNAL_STORAGE"
31 android:maxSdkVersion="29" />
32 <uses-permission android:name="android.permission.INTERNET" />
33 <uses-permission android:name="android.permission.RECORD_AUDIO" />
34 <uses-permission android:name="android.permission.VIBRATE" />
35 <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
36 <uses-permission android:name="android.permission.CAMERA" />
37
38 <application
39 android:allowBackup="false"
40 android:icon="@mipmap/themed_icon"
41 android:label="${editorAppName}${editorBuildSuffix}"
42 android:requestLegacyExternalStorage="true"
43 android:theme="@style/GodotEditorSplashScreenTheme"
44 tools:ignore="GoogleAppIndexingWarning">
45 <profileable
46 android:shell="true"
47 android:enabled="true"
48 tools:targetApi="29" />
49
50 <activity
51 android:name=".GodotEditor"
52 android:configChanges="layoutDirection|locale|orientation|keyboardHidden|screenSize|smallestScreenSize|density|keyboard|navigation|screenLayout|uiMode"
53 android:exported="false"
54 android:icon="@mipmap/themed_icon"
55 android:launchMode="singleTask"
56 android:screenOrientation="userLandscape">
57 <layout
58 android:defaultWidth="@dimen/editor_default_window_width"
59 android:defaultHeight="@dimen/editor_default_window_height" />
60
61 <!-- Intent filter used to intercept hybrid PANEL launch for the current editor project, and route it
62 properly through the editor 'run' logic (e.g: debugger setup) -->
63 <intent-filter>
64 <action android:name="android.intent.action.MAIN" />
65 <category android:name="android.intent.category.DEFAULT" />
66 <category android:name="org.godotengine.xr.hybrid.PANEL" />
67 </intent-filter>
68
69 <!-- Intent filter used to intercept hybrid IMMERSIVE launch for the current editor project, and route it
70 properly through the editor 'run' logic (e.g: debugger setup) -->
71 <intent-filter>
72 <action android:name="android.intent.action.MAIN" />
73 <category android:name="android.intent.category.DEFAULT" />
74 <category android:name="org.godotengine.xr.hybrid.IMMERSIVE" />
75 </intent-filter>
76 </activity>
77 <activity-alias
78 android:name=".ProjectManager"
79 android:exported="true"
80 android:icon="@mipmap/themed_icon"
81 android:targetActivity=".GodotEditor">
82 <intent-filter>
83 <action android:name="android.intent.action.MAIN" />
84
85 <category android:name="android.intent.category.DEFAULT" />
86 <category android:name="android.intent.category.LAUNCHER" />
87 </intent-filter>
88 </activity-alias>
89 <activity
90 android:name=".GodotGame"
91 android:configChanges="layoutDirection|locale|orientation|keyboardHidden|screenSize|smallestScreenSize|density|keyboard|navigation|screenLayout|uiMode"
92 android:exported="false"
93 android:icon="@mipmap/ic_play_window"
94 android:label="@string/godot_game_activity_name"
95 android:launchMode="singleTask"
96 android:process=":GodotGame"
97 android:autoRemoveFromRecents="true"
98 android:theme="@style/GodotGameTheme"
99 android:supportsPictureInPicture="true"
100 android:screenOrientation="userLandscape">
101 <layout
102 android:defaultWidth="@dimen/editor_default_window_width"
103 android:defaultHeight="@dimen/editor_default_window_height" />
104 </activity>
105 <activity
106 android:name=".embed.EmbeddedGodotGame"
107 android:configChanges="layoutDirection|locale|orientation|keyboardHidden|screenSize|smallestScreenSize|density|keyboard|navigation|screenLayout|uiMode"
108 android:exported="false"
109 android:icon="@mipmap/ic_play_window"
110 android:label="@string/godot_game_activity_name"
111 android:theme="@style/GodotEmbeddedGameTheme"
112 android:taskAffinity=":embed"
113 android:excludeFromRecents="true"
114 android:launchMode="singleTask"
115 android:process=":EmbeddedGodotGame"
116 android:supportsPictureInPicture="true" />
117 <activity
118 android:name=".GodotXRGame"
119 android:configChanges="layoutDirection|locale|orientation|keyboardHidden|screenSize|smallestScreenSize|density|keyboard|navigation|screenLayout|uiMode"
120 android:process=":GodotXRGame"
121 android:launchMode="singleTask"
122 android:taskAffinity=":xr"
123 android:icon="@mipmap/ic_play_window"
124 android:label="@string/godot_game_activity_name"
125 android:exported="false"
126 android:autoRemoveFromRecents="true"
127 android:screenOrientation="landscape"
128 android:resizeableActivity="false"
129 android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" />
130
131 <!--
132 We remove this meta-data originating from the vendors plugin as we only need the loader for
133 now since the project being edited provides its own version of the vendors plugin.
134
135 This needs to be removed once we start implementing the immersive version of the project
136 manager and editor windows.
137 -->
138 <meta-data
139 android:name="org.godotengine.plugin.v2.GodotOpenXR"
140 android:value="org.godotengine.openxr.vendors.GodotOpenXR"
141 tools:node="remove" />
142 </application>
143
144 </manifest>