From 661396fc977fd4492109a220f752858a9130b158 Mon Sep 17 00:00:00 2001 From: PixelyIon Date: Sun, 24 Oct 2021 00:16:49 +0530 Subject: [PATCH] Resume `EmulationActivity` when launcher icon is used Fix a bug where attempting to launch Skyline from the launcher while emulation was in progress would result in `MainActivity` launching rather than `EmulationActivity`. We always want `EmulationActivity` to stay on top of the stack and be launched whenever Skyline is resumed, no other activity should be able to run in parallel to `EmulationActivity` in any user-accessible manner. --- app/src/main/AndroidManifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 3759216f..d8d77094 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -63,7 +63,7 @@ android:name="emu.skyline.EmulationActivity" android:configChanges="orientation|screenSize" android:exported="true" - android:launchMode="singleInstance" + android:launchMode="singleTask" android:screenOrientation="landscape" tools:ignore="LockedOrientationActivity">