gedoor / legado

Legado 3.0 Book Reader with powerful controls & full functions❤️阅读3.0, 阅读是一款可以自定义来源阅读网络内容的工具,为广大网络文学爱好者提供一种方便、快捷舒适的试读体验。
GNU General Public License v3.0
29.91k stars 3.92k forks source link

听书中,来电时应该暂停朗读 #4119

Closed wenmin92 closed 1 month ago

wenmin92 commented 2 months ago

确认 / Assignments

问题描述 / Describe Bugs

听书时,如果突然来电,朗读不会自动停止,即使接听电话,朗读仍然会继续。我已经把所有权限都给了,但还是有这个问题。

复现步骤 / How to reproduce

  1. 本机打开一本书,开启听书
  2. 使用另一个电话拨通本机号码
  3. 本机收到来电,但听书并未暂停,仍在朗读
  4. 接听来电,听书也没有暂停,仍在朗读

确认 / Assignment

其他信息 / Additions

“起点读书”会正确处理这种情况,可以作为参考

日志提交 / Relevant log output

No response

阅读版本 / Legado version

3.25

Android版本 / Android version

Android 14

机型 / Model

Redmi Note 12T Pro

821938089 commented 2 months ago

关闭忽略音频焦点

wenmin92 commented 2 months ago

关闭忽略音频焦点

感谢指点,已经尝试。 但有点问题,这是一个更宽泛的功能,会有更多的影响。比如,此时在玩微信小游戏,需要看广告,这时,即使关闭了广告的声音,朗读也会暂停,并且不能手动开启,如果开启,广告时长就会重置。

821938089 commented 2 months ago

这是微信小游戏的问题,它不释放音频焦点,阅读无法恢复朗读

wenmin92 commented 2 months ago

这是微信小游戏的问题,它不释放音频焦点,阅读无法恢复朗读

感谢您的讲解。 我想...是否可以更加细分/优化这个功能,比如,“起点读书”就不存在这种情况。 希望您能理解。

821938089 commented 2 months ago

我不太明白,难道起点读书可以和其他应用一起播放声音吗?

wenmin92 commented 2 months ago

我不太明白,难道起点读书可以和其他应用一起播放声音吗?

我没有进行严格仔细的测试。仅仅说3个地方:

  1. 来电时会暂停
  2. 播放广告时不会暂停
  3. 播放B站视频不会暂停
821938089 commented 2 months ago

我查了一下,阅读要实现这个功能需要添加一个读取手机状态的权限才能用,这权限还得运行时请求

你觉得值得加上这功能吗?

wenmin92 commented 2 months ago

我查了一下,阅读要实现这个功能需要添加一个读取手机状态的权限才能用,这权限还得运行时请求

你觉得值得加上这功能吗?

如果你询问我对于权限的看法,说实话,除了那种特别明显的权限,其他权限我都没注意。 包括本APP和“起点读书”在内,一开始要了哪些权限,我完全没注意到。 功能的优雅似乎有着更高的优先度。

821938089 commented 2 months ago

好了,你安装最新测试版,然后朗读设置里打开来电期间暂停朗读试试

wenmin92 commented 2 months ago

好了,你安装最新测试版,然后朗读设置里打开来电期间暂停朗读试试

哇,大佬,你效率真高,非常感谢,晚上回家我试试 👍

runningwaterpro commented 2 months ago

@wenmin92

“虎牙直播”的设置中有“被其他应用中断后继续播放”选项,可能与您的需求比较接近。

这个选项我都是关闭的,因为没有想象中那么好用,经常已经手动停止虎牙播放了,但不定什么时候放了个其他有声音的,那个声音一旦停止,虎牙就自动播放了,不但可能需要额外的停止操作,如果在工作时还会很尴尬。

wenmin92 commented 2 months ago

@wenmin92

“虎牙直播”的设置中有“被其他应用中断后继续播放”选项,可能与您的需求比较接近。

这个选项我都是关闭的,因为没有想象中那么好用,经常已经手动停止虎牙播放了,但不定什么时候放了个其他有声音的,那个声音一旦停止,虎牙就自动播放了,不但可能需要额外的停止操作,如果在工作时还会很尴尬。

感谢您的反馈,这个功能可能是他们没有优化好吗?

wenmin92 commented 2 months ago

@821938089 您好,原谅我周末太懒,没有进行专门地测试。 我说几点:

  1. “来点期间暂停朗读”已开启,周末取外卖时,并没有停止朗读。
  2. 今天专门测试了下,确实不会停止朗读。
  3. 每次开启朗读都会提示让我打开“读取手机状态”权限,但我已经放开了应用信息中列出的所有权限,似乎没看到名字是这个的权限。
    权限截图

afa2119363425c3a4e3fc628a2ce75a 85246a63bd3a539b8d62bde467bf2f1

我安装的应用的版本号是:3.24.082319

821938089 commented 2 months ago

更新最新测试版,之前的版本提交代码时漏了一些,导致权限申请不了

wenmin92 commented 2 months ago

已经更新到最新测试版。这个问题基本解决。 非常感谢您的努力和贡献!

wenmin92 commented 2 months ago

@821938089 最近发现一个问题。 如果此时朗读是暂停的,比如正在忙其他事,突然接到电话,电话结束后,就会自动开始朗读。这个行为比较奇怪,需要约束。

821938089 commented 2 months ago

你是最新测试版吗? 把日志发一下吧

runningwaterpro commented 2 months ago

@821938089 最近发现一个问题。 如果此时朗读是暂停的,比如正在忙其他事,突然接到电话,电话结束后,就会自动开始朗读。这个行为比较奇怪,需要约束。

哈哈,和我之前说的虎牙那个问题是一样的。

nhfgCSSA commented 2 months ago

你是最新测试版吗? 把日志发一下吧

之前用的老版,最新版好像没这个问题,等我再多测测看。

wenmin92 commented 2 months ago

你是最新测试版吗? 把日志发一下吧

之前用的老版,最新版好像没这个问题,等我再多测测看。

好像不稳定,有时候来电,接听完后会继续开始朗读。比如今天接到一个电话,时间比较长,挂断后就开始了朗读。不知道是不是错觉。

日志文件近4MB。 logs(1).zip

821938089 commented 2 months ago

日志文件里没有今天的日志

nhfgCSSA commented 2 months ago

日志文件里没有今天的日志

最后那条就可以,里面包含了今天的日志。日志文件名称中的时间标记为昨天,可能是因为我没有关闭过应用。

821938089 commented 2 months ago

还是没有,那个文件刚刚好30M大小,估计是被截断了,后面的没记录下来

nhfgCSSA commented 2 months ago

还是没有,那个文件刚刚好30M大小,估计是被截断了,后面的没记录下来

我感觉应该是完整的,我把有效的内容提取到这里,你看看对不对。 来电发生在10:15,日志中有记录。10:19 显示”来电结束,继续朗读“

日志片段 ``` 24-09-10 03:37:58.842: AppFreezeMonitor 检测到应用被系统冻结,时长:1367310 毫秒 24-09-10 03:37:58.862: [LiveEventBus] post: -1 with key: readAloudDs 24-09-10 04:04:42.526: [LiveEventBus] post: -1 with key: readAloudDs 24-09-10 04:04:42.538: AppFreezeMonitor 检测到应用被系统冻结,时长:1567669 毫秒 24-09-10 09:41:52.166: AppFreezeMonitor 检测到应用被系统冻结,时长:8735308 毫秒 24-09-10 09:41:52.177: [LiveEventBus] post: -1 with key: readAloudDs 24-09-10 09:41:52.253: [LiveEventBus] post: with key: RECREATE 24-09-10 09:41:52.254: [LiveEventBus] message received: 24-09-10 09:41:52.254: AppLog 来电响铃 24-09-10 09:41:52.255: AppLog 来电接听,不做处理 24-09-10 09:41:52.256: AppLog 来电结束,继续朗读 24-09-10 09:41:52.264: [LiveEventBus] post: 1 with key: aloud_state 24-09-10 09:41:52.264: [LiveEventBus] message received: 1 24-09-10 09:41:52.275: [LiveEventBus] post: 1 with key: aloud_state 24-09-10 09:41:52.275: [LiveEventBus] message received: 1 24-09-10 09:41:52.331: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@50f1612 24-09-10 09:41:52.331: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@4d43847 24-09-10 09:41:52.331: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@3baf7c8 24-09-10 09:41:52.336: LifecycleHelp MainActivity onDestroy 24-09-10 09:41:52.345: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@ba9029c 24-09-10 09:41:52.345: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@22df2e9 24-09-10 09:41:52.346: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@ac6859 24-09-10 09:41:52.346: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@e6ef35d 24-09-10 09:41:52.354: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@c975605 24-09-10 09:41:52.380: LifecycleHelp MainActivity onCreate 24-09-10 09:41:52.386: [LiveEventBus] observe sticky observer: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@8bbfda8(io.legado.app.utils.EventBusExtensionsKt$observeEventSticky$o$2@74460c1) on owner: MyPreferenceFragment{3de3066} (82227696-417a-47aa-9514-173128e886fb id=0x7f090373 tag=prefFragment) with key: webService 24-09-10 09:41:52.409: [LiveEventBus] observe observer: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@2dd53a1(io.legado.app.utils.EventBusExtensionsKt$observeEvent$o$1@73dd9c6) on owner: io.legado.app.ui.main.MainActivity@c7e73e7 with key: RECREATE 24-09-10 09:41:52.410: [LiveEventBus] observe observer: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@c8784b4(io.legado.app.utils.EventBusExtensionsKt$observeEvent$o$1@75a88dd) on owner: io.legado.app.ui.main.MainActivity@c7e73e7 with key: notifyMain 24-09-10 09:41:52.410: [LiveEventBus] observe observer: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@42d2b23(io.legado.app.utils.EventBusExtensionsKt$observeEvent$o$1@a723820) on owner: io.legado.app.ui.main.MainActivity@c7e73e7 with key: threadCount 24-09-10 09:41:52.412: LifecycleHelp MainActivity onStart 24-09-10 09:41:52.431: [LiveEventBus] observe observer: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@a98c2d(io.legado.app.utils.EventBusExtensionsKt$observeEvent$o$2@8b49562) on owner: BooksFragment{17b6375} (3bcef277-fead-4d16-8c16-8bea25d785e9 id=0x7f09051f) with key: upBookToc 24-09-10 09:41:52.431: [LiveEventBus] observe observer: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@3ce4fb0(io.legado.app.utils.EventBusExtensionsKt$observeEvent$o$2@d3fbe29) on owner: BooksFragment{17b6375} (3bcef277-fead-4d16-8c16-8bea25d785e9 id=0x7f09051f) with key: bookshelfRefresh 24-09-10 09:41:52.440: [LiveEventBus] observe observer: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@2c5bc86(io.legado.app.utils.EventBusExtensionsKt$observeEvent$o$2@3464947) on owner: BooksFragment{9ed13e5} (7b15c464-5a74-418c-871a-6975ba5a6665 id=0x7f09051f) with key: upBookToc 24-09-10 09:41:52.440: [LiveEventBus] observe observer: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@b2da9d(io.legado.app.utils.EventBusExtensionsKt$observeEvent$o$2@d311b12) on owner: BooksFragment{9ed13e5} (7b15c464-5a74-418c-871a-6975ba5a6665 id=0x7f09051f) with key: bookshelfRefresh 24-09-10 09:41:52.489: LifecycleHelp MainActivity onResume 24-09-10 09:41:52.504: LifecycleHelp MainActivity onPause 24-09-10 09:41:52.507: LifecycleHelp MainActivity onStop 24-09-10 09:41:52.508: LifecycleHelp MainActivity onSaveInstanceState 24-09-10 09:41:52.511: TTSReadAloudService 朗读列表大小 186 24-09-10 09:41:52.511: TTSReadAloudService 朗读页数 9 24-09-10 09:41:52.560: TTSUtteranceListener onStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 24-09-10 09:41:52.560: [LiveEventBus] post: 2043 with key: ttsStart 24-09-10 09:41:52.561: [LiveEventBus] message received: 2043 24-09-10 09:41:52.576: TTSReadAloudService 朗读内容添加完成 24-09-10 09:41:52.604: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:2 end:4 frame:360 24-09-10 09:41:52.731: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:4 end:6 frame:4092 24-09-10 09:41:53.117: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:7 end:9 frame:12647 24-09-10 09:41:53.287: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:9 end:10 frame:17240 24-09-10 09:41:53.419: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:10 end:11 frame:19766 24-09-10 09:41:53.499: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:11 end:13 frame:21718 24-09-10 09:41:53.717: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:13 end:14 frame:27575 24-09-10 09:41:53.845: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:14 end:15 frame:29986 24-09-10 09:41:53.924: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:15 end:17 frame:32627 24-09-10 09:41:54.093: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:17 end:18 frame:36359 24-09-10 09:41:54.183: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:18 end:20 frame:37967 24-09-10 09:41:54.398: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:20 end:21 frame:43307 24-09-10 09:41:54.526: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:21 end:23 frame:46350 24-09-10 09:41:54.712: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:23 end:25 frame:50886 24-09-10 09:41:55.900: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:25 end:26 frame:55996 24-09-10 09:41:55.901: AppFreezeMonitor 检测到应用被系统冻结,时长:750 毫秒 24-09-10 09:41:55.902: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:26 end:28 frame:58407 24-09-10 09:41:55.902: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:28 end:29 frame:63690 24-09-10 09:41:55.902: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:29 end:30 frame:65814 24-09-10 09:41:55.902: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:30 end:32 frame:67996 24-09-10 09:41:55.902: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:32 end:33 frame:72302 24-09-10 09:41:55.902: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:33 end:35 frame:73795 24-09-10 09:41:55.908: [LiveEventBus] post: 3 with key: aloud_state 24-09-10 09:41:55.909: [LiveEventBus] message received: 3 24-09-10 09:41:55.910: [LiveEventBus] post: -1 with key: readAloudDs 24-09-10 09:41:55.916: TTSReadAloudService onStartCommand Intent { act=pause flg=0x10000000 cmp=io.legado.app.release/io.legado.app.service.TTSReadAloudService bnds=[491,987][623,1119] } #Intent;action=pause;launchFlags=0x10000000;component=io.legado.app.release/io.legado.app.service.TTSReadAloudService;sourceBounds=491%20987%20623%201119;end 24-09-10 10:14:49.005: AppFreezeMonitor 检测到应用被系统冻结,时长:1825381 毫秒 24-09-10 10:14:49.012: [LiveEventBus] post: -1 with key: readAloudDs 24-09-10 10:15:45.286: AppLog 来电响铃 24-09-10 10:15:49.034: [LiveEventBus] post: -1 with key: readAloudDs 24-09-10 10:15:58.804: AppLog 来电接听,不做处理 24-09-10 10:16:49.039: [LiveEventBus] post: -1 with key: readAloudDs 24-09-10 10:17:49.040: [LiveEventBus] post: -1 with key: readAloudDs 24-09-10 10:18:49.041: [LiveEventBus] post: -1 with key: readAloudDs 24-09-10 10:19:43.239: AppLog 来电结束,继续朗读 24-09-10 10:19:43.240: [LiveEventBus] post: 1 with key: aloud_state 24-09-10 10:19:43.242: [LiveEventBus] message received: 1 24-09-10 10:19:43.252: [LiveEventBus] post: 1 with key: aloud_state 24-09-10 10:19:43.252: [LiveEventBus] message received: 1 24-09-10 10:19:43.305: TTSReadAloudService 朗读列表大小 186 24-09-10 10:19:43.305: TTSReadAloudService 朗读页数 9 24-09-10 10:19:43.345: TTSUtteranceListener onStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 24-09-10 10:19:43.345: [LiveEventBus] post: 2043 with key: ttsStart 24-09-10 10:19:43.345: [LiveEventBus] message received: 2043 24-09-10 10:19:43.371: TTSReadAloudService 朗读内容添加完成 24-09-10 10:19:43.406: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:2 end:4 frame:360 24-09-10 10:19:43.532: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:4 end:6 frame:4092 24-09-10 10:19:43.763: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:7 end:9 frame:12647 24-09-10 10:19:43.852: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:9 end:10 frame:17240 24-09-10 10:19:43.928: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:10 end:11 frame:19766 24-09-10 10:19:43.966: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:11 end:13 frame:21718 24-09-10 10:19:44.133: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:13 end:14 frame:27575 24-09-10 10:19:44.424: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:14 end:15 frame:29986 24-09-10 10:19:44.472: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:15 end:17 frame:32627 24-09-10 10:19:44.578: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:17 end:18 frame:36359 24-09-10 10:19:44.668: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:18 end:20 frame:37967 24-09-10 10:19:44.883: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:20 end:21 frame:43307 24-09-10 10:19:45.010: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:21 end:23 frame:46350 24-09-10 10:19:45.195: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:23 end:25 frame:50886 24-09-10 10:19:45.403: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:25 end:26 frame:55996 24-09-10 10:19:45.521: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:26 end:28 frame:58407 24-09-10 10:19:45.728: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:28 end:29 frame:63690 24-09-10 10:19:45.818: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:29 end:30 frame:65814 24-09-10 10:19:45.914: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:30 end:32 frame:67996 24-09-10 10:19:46.070: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:32 end:33 frame:72302 24-09-10 10:19:46.159: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:33 end:35 frame:73795 24-09-10 10:19:46.586: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:36 end:38 frame:84072 24-09-10 10:19:46.759: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:38 end:39 frame:88206 24-09-10 10:19:46.839: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:39 end:41 frame:90560 24-09-10 10:19:47.092: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:41 end:42 frame:96360 24-09-10 10:19:47.206: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:42 end:43 frame:99288 24-09-10 10:19:47.307: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:43 end:44 frame:101584 24-09-10 10:19:47.393: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:44 end:45 frame:103594 24-09-10 10:19:47.522: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:45 end:47 frame:106637 24-09-10 10:19:47.743: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:47 end:50 frame:111804 24-09-10 10:19:47.950: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:50 end:51 frame:117202 24-09-10 10:19:48.299: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:52 end:53 frame:125355 24-09-10 10:19:48.374: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:53 end:55 frame:127766 24-09-10 10:19:48.588: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:55 end:56 frame:132991 24-09-10 10:19:48.723: TTSUtteranceListener TTSUtteranceListener onRangeStart nowSpeak:49 pageIndex:2 utteranceId:Legado49 start:56 end:58 frame:135804 24-09-10 10:19:48.899: [LiveEventBus] post: 3 with key: aloud_state 24-09-10 10:19:48.899: [LiveEventBus] message received: 3 24-09-10 10:19:48.899: [LiveEventBus] post: -1 with key: readAloudDs 24-09-10 10:19:48.904: TTSReadAloudService onStartCommand Intent { act=pause flg=0x10000000 cmp=io.legado.app.release/io.legado.app.service.TTSReadAloudService bnds=[491,1249][623,1381] } #Intent;action=pause;launchFlags=0x10000000;component=io.legado.app.release/io.legado.app.service.TTSReadAloudService;sourceBounds=491%201249%20623%201381;end 24-09-10 10:19:51.842: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@a01af58 24-09-10 10:19:51.843: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@cdf5e35 24-09-10 10:19:51.844: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@1c588be 24-09-10 10:19:51.844: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@b48f7c3 24-09-10 10:19:51.848: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@e12a2d4 24-09-10 10:19:51.848: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@476ed41 24-09-10 10:19:51.849: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@a830f1a 24-09-10 10:19:51.850: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@66f7a2f 24-09-10 10:19:51.851: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@6bccb10 24-09-10 10:19:51.851: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@834960d 24-09-10 10:19:51.852: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@3442036 24-09-10 10:19:51.852: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@728d45b 24-09-10 10:19:51.852: LifecycleHelp ReadBookActivity onDestroy 24-09-10 10:19:51.986: LifecycleHelp ReadBookActivity onCreate 24-09-10 10:19:52.049: [LiveEventBus] observe observer: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@d5d8427(io.legado.app.utils.EventBusExtensionsKt$observeEvent$o$1@c3f56d4) on owner: io.legado.app.ui.book.read.ReadBookActivity@43abefc with key: timeChanged 24-09-10 10:19:52.049: [LiveEventBus] observe observer: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@e3a3b72(io.legado.app.utils.EventBusExtensionsKt$observeEvent$o$1@9143bc3) on owner: io.legado.app.ui.book.read.ReadBookActivity@43abefc with key: batteryChanged 24-09-10 10:19:52.049: [LiveEventBus] observe observer: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@81e779(io.legado.app.utils.EventBusExtensionsKt$observeEvent$o$1@c6c9cbe) on owner: io.legado.app.ui.book.read.ReadBookActivity@43abefc with key: mediaButton 24-09-10 10:19:52.049: [LiveEventBus] observe observer: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@eeeac6c(io.legado.app.utils.EventBusExtensionsKt$observeEvent$o$1@bb08235) on owner: io.legado.app.ui.book.read.ReadBookActivity@43abefc with key: upConfig 24-09-10 10:19:52.050: [LiveEventBus] observe observer: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@d1f603b(io.legado.app.utils.EventBusExtensionsKt$observeEvent$o$1@e502358) on owner: io.legado.app.ui.book.read.ReadBookActivity@43abefc with key: aloud_state 24-09-10 10:19:52.050: [LiveEventBus] observe sticky observer: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@5ad8596(io.legado.app.utils.EventBusExtensionsKt$observeEventSticky$o$1@199c517) on owner: io.legado.app.ui.book.read.ReadBookActivity@43abefc with key: ttsStart 24-09-10 10:19:52.050: [LiveEventBus] observe observer: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@30bc2ed(io.legado.app.utils.EventBusExtensionsKt$observeEvent$o$1@1b46522) on owner: io.legado.app.ui.book.read.ReadBookActivity@43abefc with key: keep_light 24-09-10 10:19:52.050: [LiveEventBus] observe observer: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@f340570(io.legado.app.utils.EventBusExtensionsKt$observeEvent$o$1@76ea0e9) on owner: io.legado.app.ui.book.read.ReadBookActivity@43abefc with key: selectText 24-09-10 10:19:52.050: [LiveEventBus] observe observer: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@27a400f(io.legado.app.utils.EventBusExtensionsKt$observeEvent$o$1@82c089c) on owner: io.legado.app.ui.book.read.ReadBookActivity@43abefc with key: showBrightnessView 24-09-10 10:19:52.050: [LiveEventBus] observe observer: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@5d1767a(io.legado.app.utils.EventBusExtensionsKt$observeEvent$o$1@8a4ce2b) on owner: io.legado.app.ui.book.read.ReadBookActivity@43abefc with key: searchResult 24-09-10 10:19:52.050: [LiveEventBus] observe observer: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@b08421(io.legado.app.utils.EventBusExtensionsKt$observeEvent$o$1@5f08046) on owner: io.legado.app.ui.book.read.ReadBookActivity@43abefc with key: updateReadActionBar 24-09-10 10:19:52.050: [LiveEventBus] observe observer: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@8f6cf34(io.legado.app.utils.EventBusExtensionsKt$observeEvent$o$1@a70415d) on owner: io.legado.app.ui.book.read.ReadBookActivity@43abefc with key: upSeekBar 24-09-10 10:19:52.051: [LiveEventBus] message received: 2043 24-09-10 10:19:52.052: LifecycleHelp ReadBookActivity onStart 24-09-10 10:19:52.054: LifecycleHelp ReadBookActivity onResume 24-09-10 10:19:52.171: [LiveEventBus] post: 84 with key: batteryChanged 24-09-10 10:19:52.171: [LiveEventBus] message received: 84 24-09-10 10:19:53.970: LifecycleHelp ReadBookActivity onPause 24-09-10 10:19:53.976: LifecycleHelp MainActivity onStart 24-09-10 10:19:53.983: LifecycleHelp MainActivity onResume 24-09-10 10:19:54.458: LifecycleHelp ReadBookActivity onStop 24-09-10 10:19:54.459: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@8f6cf34 24-09-10 10:19:54.459: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@b08421 24-09-10 10:19:54.459: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@5d1767a 24-09-10 10:19:54.460: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@27a400f 24-09-10 10:19:54.460: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@f340570 24-09-10 10:19:54.460: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@30bc2ed 24-09-10 10:19:54.460: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@5ad8596 24-09-10 10:19:54.460: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@d1f603b 24-09-10 10:19:54.460: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@eeeac6c 24-09-10 10:19:54.460: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@81e779 24-09-10 10:19:54.460: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@e3a3b72 24-09-10 10:19:54.461: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@d5d8427 24-09-10 10:19:54.463: LifecycleHelp ReadBookActivity onDestroy 24-09-10 10:19:54.478: TTSReadAloudService onStartCommand Intent { act=stop cmp=io.legado.app.release/io.legado.app.service.TTSReadAloudService } #Intent;action=stop;component=io.legado.app.release/io.legado.app.service.TTSReadAloudService;end 24-09-10 10:19:54.478: LifecycleHelp TTSReadAloudService onDestroy 24-09-10 10:19:54.483: [LiveEventBus] post: 0 with key: aloud_state 24-09-10 10:19:54.490: [LiveEventBus] observer removed: com.jeremyliao.liveeventbus.core.LiveEventBusCore$ObserverWrapper@60acfd2 24-09-10 10:20:26.705: LifecycleHelp MainActivity onPause 24-09-10 10:20:26.726: LifecycleHelp AboutActivity onCreate 24-09-10 10:20:26.735: LifecycleHelp AboutActivity onStart 24-09-10 10:20:26.737: LifecycleHelp AboutActivity onResume 24-09-10 10:20:27.089: LifecycleHelp MainActivity onStop 24-09-10 10:20:27.090: LifecycleHelp MainActivity onSaveInstanceState 24-09-10 10:20:32.464: LifecycleHelp AboutActivity onPause 24-09-10 10:20:32.497: LifecycleHelp AboutActivity onStop 24-09-10 10:20:32.498: LifecycleHelp AboutActivity onSaveInstanceState 24-09-10 11:10:52.826: AppFreezeMonitor 检测到应用被系统冻结,时长:3018491 毫秒 24-09-10 11:10:52.861: LifecycleHelp AboutActivity onStart 24-09-10 11:10:52.868: LifecycleHelp AboutActivity onResume ```
821938089 commented 2 months ago

修复了,你试试最新测试版

nhfgCSSA commented 2 months ago

修复了,你试试最新测试版

大神棒棒的👍

github-actions[bot] commented 1 month ago

由于长期没有状态更新,该问题将于5天后自动关闭。如有需要可重新打开。