mirror of
https://github.com/love2d/love-android.git
synced 2026-08-12 00:20:57 +02:00
Potentially fix unexpected "love.filedropped" event when launching .love files.
Issue #254
This commit is contained in:
@@ -115,7 +115,10 @@ public class GameActivity extends SDLActivity {
|
||||
storagePermissionUnnecessary = false;
|
||||
embed = getResources().getBoolean(R.bool.embed);
|
||||
|
||||
handleIntent(this.getIntent());
|
||||
if (!embed) {
|
||||
handleIntent(getIntent());
|
||||
setIntent(null);
|
||||
}
|
||||
|
||||
super.onCreate(savedInstanceState);
|
||||
metrics = getResources().getDisplayMetrics();
|
||||
|
||||
Reference in New Issue
Block a user