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.
This commit is contained in:
PixelyIon 2021-10-24 00:16:49 +05:30
parent 39e924aec8
commit 661396fc97

View File

@ -63,7 +63,7 @@
android:name="emu.skyline.EmulationActivity" android:name="emu.skyline.EmulationActivity"
android:configChanges="orientation|screenSize" android:configChanges="orientation|screenSize"
android:exported="true" android:exported="true"
android:launchMode="singleInstance" android:launchMode="singleTask"
android:screenOrientation="landscape" android:screenOrientation="landscape"
tools:ignore="LockedOrientationActivity"> tools:ignore="LockedOrientationActivity">
<meta-data <meta-data