From 967ae46c78c311b51fcf00d8e7f17d372fcef7de Mon Sep 17 00:00:00 2001 From: NineWorlds <1365887550@qq.com> Date: Thu, 5 Aug 2021 14:46:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E7=BF=BB=E9=A1=B5=E6=97=B6?= =?UTF-8?q?=E5=B1=8F=E5=B9=95=E5=B8=B8=E4=BA=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/ui/book/read/ReadBookActivity.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt b/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt index 65bbfc910..25b65117f 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt @@ -686,6 +686,8 @@ class ReadBookActivity : ReadBookBaseActivity(), binding.readView.upContent(1) autoPagePlus() binding.readMenu.setAutoPage(true) + screenTimeOut=-1L + screenOffTimerStart() } } @@ -694,6 +696,7 @@ class ReadBookActivity : ReadBookBaseActivity(), mHandler.removeCallbacks(autoPageRunnable) binding.readView.upContent() binding.readMenu.setAutoPage(false) + upScreenTimeOut() } private fun autoPagePlus() {