docs: 修复视频播放流程描述与代码不一致
- 移除文档中关于 forceChangeNext 的错误描述 - 更新为实际的实现:重置播放状态并使用正常流程 - 确保文档与代码实现保持一致 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a67fa45786
commit
3d1916de62
1 file changed
+2
-2
@@ -249,9 +249,9 @@ onPrepared() 回调 → 绑定 Surface → 开始播放
|
|||||||
↓
|
↓
|
||||||
视频播放中...(检查电池状态,决定是否暂停)
|
视频播放中...(检查电池状态,决定是否暂停)
|
||||||
↓
|
↓
|
||||||
onCompletion() 回调 → 设置 forceChangeNext = true
|
onCompletion() 回调 → 重置播放状态(isPlayingVideo = false)
|
||||||
↓
|
↓
|
||||||
触发 drawWallpaper() 切换到下一个媒体
|
触发 drawWallpaper() 切换到下一个媒体(使用正常流程)
|
||||||
```
|
```
|
||||||
|
|
||||||
### 相册切换流程
|
### 相册切换流程
|
||||||
|
|||||||
Reference in new issue
Block a user