Browse Source

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 years ago
parent
commit
2529265eed
1 changed files with 4 additions and 3 deletions
  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:name="org.love2d.android.GameActivity"
         android:configChanges="orientation|screenSize|keyboard|keyboardHidden|navigation"
         android:configChanges="orientation|screenSize|keyboard|keyboardHidden|navigation"
         android:label="LÖVE for Android"
         android:label="LÖVE for Android"
-        android:launchMode="singleTop"
-        android:screenOrientation="landscape" >
+        android:launchMode="singleTask"
+        android:screenOrientation="landscape"
+        android:resizeableActivity="false" >
         <intent-filter>
         <intent-filter>
           <action android:name="android.intent.action.MAIN" />
           <action android:name="android.intent.action.MAIN" />
           <category android:name="android.intent.category.LAUNCHER" />
           <category android:name="android.intent.category.LAUNCHER" />
@@ -49,7 +50,7 @@
           <category android:name="android.intent.category.BROWSABLE" />
           <category android:name="android.intent.category.BROWSABLE" />
           <data android:scheme="content" />
           <data android:scheme="content" />
           <data android:host="*" />
           <data android:host="*" />
-          <data android:mimeType="*/*" />
+          <data android:mimeType="application/octet-stream" />
         </intent-filter>
         </intent-filter>
       </activity>
       </activity>
       <activity
       <activity