From fd7f61f7b3c71a45472b27c1b2a1d0c272bef2a1 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 24 Sep 2019 10:35:42 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/receiver/MediaButtonReceiver.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/receiver/MediaButtonReceiver.kt b/app/src/main/java/io/legado/app/receiver/MediaButtonReceiver.kt index ea4e91d4e..17eba6b18 100644 --- a/app/src/main/java/io/legado/app/receiver/MediaButtonReceiver.kt +++ b/app/src/main/java/io/legado/app/receiver/MediaButtonReceiver.kt @@ -7,7 +7,6 @@ import android.view.KeyEvent import io.legado.app.constant.Bus import io.legado.app.help.ActivityHelp import io.legado.app.ui.book.read.ReadBookActivity -import io.legado.app.utils.LogUtils import io.legado.app.utils.postEvent @@ -23,7 +22,7 @@ class MediaButtonReceiver : BroadcastReceiver() { fun handleIntent(context: Context, intent: Intent): Boolean { val intentAction = intent.action val keyEventAction = intent.getParcelableExtra(Intent.EXTRA_KEY_EVENT)?.action - LogUtils.log("耳机按键: $intentAction $keyEventAction") +// LogUtils.log("耳机按键: $intentAction $keyEventAction") if (Intent.ACTION_MEDIA_BUTTON == intentAction) { if (keyEventAction == KeyEvent.ACTION_DOWN) { readAloud(context)