mirror of
https://github.com/ARMSX2/ARMSX1.git
synced 2026-08-24 16:53:35 -07:00
Main was singleTop, which only dedupes inside a single task, so a game opened from a file manager or a home-screen shortcut started a second Main in the caller's task alongside the launcher's copy — two Activities driving one process-wide runtime and one native VM. A user's logcat caught it: taskId=20 and taskId=4 both hosting com.armsx2.Main. singleTask keeps one instance and routes the incoming URI through onNewIntent, which already boots it.