Skip to content

fix: remove unused wake lock permission#1498

Merged
cortinico merged 1 commit into
ChuckerTeam:mainfrom
akexorcist:fix/remove-wake-lock
Sep 30, 2025
Merged

fix: remove unused wake lock permission#1498
cortinico merged 1 commit into
ChuckerTeam:mainfrom
akexorcist:fix/remove-wake-lock

Conversation

@akexorcist

Copy link
Copy Markdown
Contributor

📷 Screenshots

No screenshots

📄 Context

Based on my code review, Chucker doesn't seem to need the Wake Lock Permission. Even the ClearDatabaseService is a short-term task and doesn't require it.

The permission's maxSdkVersion of 25 is also a problem, as it can conflict with apps that use Chucker and declare their own Wake Lock, forcing them to override it. See #1077

If this permission is truly necessary, I apologize for my misunderstanding and would appreciate an explanation of the necessity.

📝 Changes

Removed the wake lock permission from the library.

📎 Related PR

No related PR

🚫 Breaking

No breaking

🛠️ How to test

Normal testing is fine, but I suggest testing on API Level 25 and below to be sure.

⏱️ Next steps

No next steps

@akexorcist akexorcist requested a review from a team as a code owner September 30, 2025 17:09
@cortinico cortinico enabled auto-merge (squash) September 30, 2025 17:18
@cortinico cortinico merged commit a09ad34 into ChuckerTeam:main Sep 30, 2025
6 checks passed
@akexorcist akexorcist deleted the fix/remove-wake-lock branch February 3, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants