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

Cherry-picked from d1f74df686. Closes #268.
This commit is contained in:
Miku AuahDark
2024-03-16 11:06:49 +08:00
parent c73f7fec23
commit 28f7c4a8db
@@ -101,9 +101,9 @@ public class GameActivity extends SDLActivity {
}
Intent intent = getIntent();
// Prevent SDL sending filedropped event. Let us do that instead.
setIntent(null);
handleIntent(intent, true);
// Prevent SDL sending filedropped event. Let us do that instead.
intent.setData(null);
super.onCreate(savedInstanceState);