Don't set the intent to null, only set the intent data to null.

Issue #260.
This commit is contained in:
Miku AuahDark
2023-12-25 12:23:18 +08:00
parent c3ed3b454b
commit d1f74df686
@@ -117,8 +117,9 @@ public class GameActivity extends SDLActivity {
needToCopyGameInArchive = embed;
if (!embed) {
handleIntent(getIntent());
setIntent(null);
Intent intent = getIntent();
handleIntent(intent);
intent.setData(null);
}
super.onCreate(savedInstanceState);