mirror of
https://github.com/love2d/love-android.git
synced 2026-08-16 00:02:31 +02:00
Use FLAG_ACTIVITY_NEW_TASK when opening our site.
This commit is contained in:
@@ -20,6 +20,7 @@ public class AboutActivity extends AppCompatActivity {
|
||||
button.setOnClickListener(v -> {
|
||||
Uri uri = Uri.parse("https://love2d.org/");
|
||||
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
|
||||
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
startActivity(intent);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user