From 6031f8467e8200d660b3aca345531338d0d6f1fa Mon Sep 17 00:00:00 2001 From: youlalala Date: Fri, 8 Dec 2023 12:07:42 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20onStop=EC=97=90=EC=84=9C=20player=20?= =?UTF-8?q?=EC=A4=91=EC=A7=80=EB=90=98=EB=8A=94=20=EB=B6=80=EB=B6=84=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/src/main/java/com/ohdodok/catchytape/MainActivity.kt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/android/app/src/main/java/com/ohdodok/catchytape/MainActivity.kt b/android/app/src/main/java/com/ohdodok/catchytape/MainActivity.kt index a800c68..89d1968 100644 --- a/android/app/src/main/java/com/ohdodok/catchytape/MainActivity.kt +++ b/android/app/src/main/java/com/ohdodok/catchytape/MainActivity.kt @@ -80,11 +80,6 @@ class MainActivity : AppCompatActivity() { connectToMediaSession() } - override fun onStop() { - player.pause() - super.onStop() - } - private fun connectToMediaSession() { val sessionToken = SessionToken(this, ComponentName(this, PlaybackService::class.java)) MediaController.Builder(this, sessionToken).buildAsync()