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