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() {