mirror of
https://github.com/love2d/love-android.git
synced 2026-08-12 00:20:57 +02:00
@@ -114,6 +114,7 @@ public class GameActivity extends SDLActivity {
|
|||||||
gamePath = "";
|
gamePath = "";
|
||||||
storagePermissionUnnecessary = false;
|
storagePermissionUnnecessary = false;
|
||||||
embed = getResources().getBoolean(R.bool.embed);
|
embed = getResources().getBoolean(R.bool.embed);
|
||||||
|
needToCopyGameInArchive = embed;
|
||||||
|
|
||||||
if (!embed) {
|
if (!embed) {
|
||||||
handleIntent(getIntent());
|
handleIntent(getIntent());
|
||||||
@@ -200,11 +201,6 @@ public class GameActivity extends SDLActivity {
|
|||||||
alert_dialog.setCancelable(false);
|
alert_dialog.setCancelable(false);
|
||||||
alert_dialog.create().show();
|
alert_dialog.create().show();
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
// No game specified via the intent data or embed build is used.
|
|
||||||
// Load game archive only when needed.
|
|
||||||
needToCopyGameInArchive = embed;
|
|
||||||
gamePath = "";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Log.d("GameActivity", "new gamePath: " + gamePath);
|
Log.d("GameActivity", "new gamePath: " + gamePath);
|
||||||
|
|||||||
Reference in New Issue
Block a user