mirror of
https://github.com/love2d/love-android.git
synced 2026-08-12 08:31:04 +02:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user