summaryrefslogtreecommitdiff
path: root/platform/android/java/AndroidManifest.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-07-02 10:36:30 +0200
committerGitHub <noreply@github.com>2019-07-02 10:36:30 +0200
commitd2c416ec62e65fd42ff1bbf493cf06689e4d1b60 (patch)
tree99a7b15bf35ad43c33dc9fd583cde4fd8f6e9dff /platform/android/java/AndroidManifest.xml
parente8b483ce21e1c8b1d79ca1693273d03b19b38388 (diff)
parent12e0dc1b65d3e69206ce64daa461b269c638b944 (diff)
Merge pull request #29824 from m4gr3d/add_ovr_export
Add XR mode selection to the Android export process.
Diffstat (limited to 'platform/android/java/AndroidManifest.xml')
-rw-r--r--platform/android/java/AndroidManifest.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/platform/android/java/AndroidManifest.xml b/platform/android/java/AndroidManifest.xml
index 9997950137..a7e6db4059 100644
--- a/platform/android/java/AndroidManifest.xml
+++ b/platform/android/java/AndroidManifest.xml
@@ -13,7 +13,7 @@
<!--glEsVersion is modified by the exporter, changing this value here has no effect-->
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
-<!--Adding custom text to manifest is fine, but do it outside the custom user and application BEGIN/ENDregions, as that gets rewritten-->
+<!--Adding custom text to manifest is fine, but do it outside the custom user and application BEGIN/END regions, as that gets rewritten-->
<!--Custom permissions XML added by add-ons. It's recommended to add them from the export preset, though-->
<!--CHUNK_USER_PERMISSIONS_BEGIN-->
@@ -25,12 +25,15 @@
<!--The following values are replaced when Godot exports, modifying them here has no effect. Do these changes in the-->
<!--export preset. Adding new ones is fine.-->
+<!-- Metadata for VR app detection on Oculus devices. This is modified by the exporter based on the selected xr mode. Changing this value here has no effect. -->
+ <meta-data android:name="com.samsung.android.vr.application.mode" android:value=""/>
+
<activity android:name="org.godotengine.godot.Godot"
android:label="@string/godot_project_name_string"
- android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
+ android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
android:launchMode="singleTask"
android:screenOrientation="landscape"
- android:configChanges="orientation|keyboardHidden|screenSize|smallestScreenSize"
+ android:configChanges="orientation|keyboardHidden|screenSize|smallestScreenSize|density|keyboard|navigation|screenLayout|uiMode"
android:resizeableActivity="false"
tools:ignore="UnusedAttribute">