diff --git a/src/android/app/src/main/java/org/citra/citra_emu/activities/EmulationActivity.kt b/src/android/app/src/main/java/org/citra/citra_emu/activities/EmulationActivity.kt index a911b0c31..73119ad39 100644 --- a/src/android/app/src/main/java/org/citra/citra_emu/activities/EmulationActivity.kt +++ b/src/android/app/src/main/java/org/citra/citra_emu/activities/EmulationActivity.kt @@ -86,8 +86,8 @@ class EmulationActivity : AppCompatActivity() { ) // Start a foreground service to prevent the app from getting killed in the background - foregroundService = Intent(this, ForegroundService::class.java) - startForegroundService(foregroundService) + //foregroundService = Intent(this, ForegroundService::class.java) + //startForegroundService(foregroundService) EmulationLifecycleUtil.addShutdownHook(hook = { this.finish() }) } @@ -112,7 +112,7 @@ class EmulationActivity : AppCompatActivity() { override fun onDestroy() { EmulationLifecycleUtil.clear() - stopForegroundService(this) + //stopForegroundService(this) super.onDestroy() }