OpenArena: added project.patch to put Cardboard intent to manifest

This commit is contained in:
Sergii Pylypenko
2016-01-11 21:48:00 +02:00
parent 48bb326ed9
commit 63cae230b0
3 changed files with 14 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
diff --git a/project/AndroidManifestTemplate.xml b/project/AndroidManifestTemplate.xml
index 7956ad1..37b9de5 100644
--- a/project/AndroidManifest.xml
+++ b/project/AndroidManifest.xml
@@ -25,6 +25,7 @@
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" /> <!-- Samsung's multiwindow -->
<action android:name="com.sec.android.airview.HOVER" /> <!-- Stupid Samsung requires their own intent for finger-hover events -->
<category android:name="android.intent.category.LEANBACK_LAUNCHER" /> <!-- Android TV requires this -->
+ <category android:name="com.google.intent.category.CARDBOARD" /> <!-- Cardboard VR -->
</intent-filter>
</activity>
<!-- ==ADMOB== --> <activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection"/>