mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-28 08:35:29 +03:00
Resume rather than relaunch when same shortcut is used
This commit is contained in:
parent
1e7347bf72
commit
39e924aec8
@ -307,8 +307,10 @@ class EmulationActivity : AppCompatActivity(), SurfaceHolder.Callback, View.OnTo
|
||||
*/
|
||||
override fun onNewIntent(intent : Intent?) {
|
||||
super.onNewIntent(intent!!)
|
||||
setIntent(intent)
|
||||
executeApplication(intent)
|
||||
if (getIntent().data != intent.data) {
|
||||
setIntent(intent)
|
||||
executeApplication(intent)
|
||||
}
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
|
Loading…
Reference in New Issue
Block a user