1 comment (1 comment)0 reactions (0 reactions)1 assignee (1 assignee)Java33,679 stars (33,679 stars)10,654 forks (10,654 forks)batch import
help wanted
Description
描述需求
关闭屏幕 特殊需求:关闭屏幕并且不自动进入休眠状态
可借鉴的
无
Contributor guide
- Tech stack
- javaandroid
- Domain
- mobile
- Issue type
- feature
- DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
- 3
- Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
- half day
- Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
- blocked
- ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
- clear
- Prerequisites
- Android development basicsPowerManager APIWakeLock
- Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
- 35
- Research direction
- Explore the repository's existing screen related utilities, such as ScreenUtils, to understand the pattern. Research Android APIs for turning off the screen (e.g., PowerManager with goToSleep() or DevicePolicyManager). Consider the requirement to prevent automatic sleep, which may involve acquiring a partial WakeLock. Check the issue comments for any additional context or guidance from maintainers. Look at similar utility implementations in the project to ensure consistency.