mirror of
https://github.com/love2d/love-android.git
synced 2026-08-17 11:11:23 +02:00
Fix *.love file association in Nougat and later.
Note that the file association is rather hacky but I can't find any method which is compatible in Nougat and later as file:// URI is banned there.
This commit is contained in:
@@ -67,6 +67,10 @@ public class GameActivity extends SDLActivity {
|
||||
Log.d("GameActivity", "Vibration disabled: could not get vibration permission.");
|
||||
}
|
||||
|
||||
// These 2 variables must be reset or it will use the existing value.
|
||||
gamePath = "";
|
||||
storagePermissionUnnecessary = false;
|
||||
|
||||
handleIntent(this.getIntent());
|
||||
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
Reference in New Issue
Block a user