Skip to content

Commit

Permalink
Don't set the intent to null, only set the intent data to null.
Browse files Browse the repository at this point in the history
Issue #260.
  • Loading branch information
MikuAuahDark committed Dec 25, 2023
1 parent c3ed3b4 commit d1f74df
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions love/src/main/java/org/love2d/android/GameActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,9 @@ protected void onCreate(Bundle savedInstanceState) {
needToCopyGameInArchive = embed;

if (!embed) {
handleIntent(getIntent());
setIntent(null);
Intent intent = getIntent();
handleIntent(intent);
intent.setData(null);
}

super.onCreate(savedInstanceState);
Expand Down

0 comments on commit d1f74df

Please sign in to comment.