AEFeinstein / AEFeinstein/mtg-familiar
Wake Lock doesn't work when life counter is reset
- 主要语言
- HTML
- 星标
- 307
- 派生
- 80
- 平均合并
- 14 小时 41 分钟
- 30 天内合并 PR
- 1
描述
When the "Wake Lock" setting is turned on, and while on the Life Counter mode, as expected my phone will not lock or go to sleep. However, after I play a game and hit the Life Reset button, the phone eventually does go to sleep. When I then unlock it and am back in the app, it works correctly and doesn't sleep.
This used to work correctly a long time ago, and then at some point this issue cropped up. This happens without fail every time I hit the life reset button. I've only really tested in when in real life I play Game 1, reset, play Game 2, and reset to play Game 3 (if needed).
贡献指南
这个仓库没有索引到贡献指南
调研方向
Reproduce in the app: enable Wake Lock, go to Life Counter mode, play a round, and tap the Life Reset button to verify the device can still sleep. Then trace the Life Reset handler and the code path that toggles Wake Lock (likely where power/wake management is done) to see if reset is unintentionally releasing it. Confirm the fix by rerunning the same reset flow across multiple games and checking the screen remains awake while Wake Lock is on.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- android
- 领域
- mobile-dev
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 68/100