mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-15 21:53:59 +08:00
do not exit onDestroy
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -251,8 +251,6 @@ class MainActivity : AudioServiceActivity() {
|
|||||||
override fun onDestroy() {
|
override fun onDestroy() {
|
||||||
stopService(Intent(this, com.ryanheise.audioservice.AudioService::class.java))
|
stopService(Intent(this, com.ryanheise.audioservice.AudioService::class.java))
|
||||||
super.onDestroy()
|
super.onDestroy()
|
||||||
android.os.Process.killProcess(android.os.Process.myPid())
|
|
||||||
exitProcess(0)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onUserLeaveHint() {
|
override fun onUserLeaveHint() {
|
||||||
|
|||||||
Reference in New Issue
Block a user