Explorar el Código

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 hace 7 años
padre
commit
2529265eed
Se han modificado 1 ficheros con 4 adiciones y 3 borrados
  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