Pārlūkot izejas kodu

Modify AndroidManifest.xml again.

The first change is to change the launch mode from singleTop to singleTask.
This hopefully fixes issue with love.filesystem initialization issue.

The second change is to change the accepted mime type to application/octet-stream.
Miku AuahDark 6 gadi atpakaļ
vecāks
revīzija
2529265eed
1 mainītis faili ar 4 papildinājumiem un 3 dzēšanām
  1. 4 3
      app/src/main/AndroidManifest.xml

+ 4 - 3
app/src/main/AndroidManifest.xml

@@ -19,8 +19,9 @@
         android:name="org.love2d.android.GameActivity"
         android:configChanges="orientation|screenSize|keyboard|keyboardHidden|navigation"
         android:label="LÖVE for Android"
-        android:launchMode="singleTop"
-        android:screenOrientation="landscape" >
+        android:launchMode="singleTask"
+        android:screenOrientation="landscape"
+        android:resizeableActivity="false" >
         <intent-filter>
           <action android:name="android.intent.action.MAIN" />
           <category android:name="android.intent.category.LAUNCHER" />
@@ -49,7 +50,7 @@
           <category android:name="android.intent.category.BROWSABLE" />
           <data android:scheme="content" />
           <data android:host="*" />
-          <data android:mimeType="*/*" />
+          <data android:mimeType="application/octet-stream" />
         </intent-filter>
       </activity>
       <activity