Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint error causing build fail - "InvalidWakeLockTag" #531

Open
phil-hudson opened this issue Jul 12, 2024 · 2 comments
Open

Lint error causing build fail - "InvalidWakeLockTag" #531

phil-hudson opened this issue Jul 12, 2024 · 2 comments

Comments

@phil-hudson
Copy link

Lint found 1 errors, 2 warnings. First failure:

BackgroundTimerModule.java:39: Error: Tag name should use a unique prefix followed by a colon (found rohit_bg_wakelock). For instance myapp:mywakelocktag. This will help with debugging [InvalidWakeLockTag]
        this.wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "rohit_bg_wakelock");
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@phil-hudson phil-hudson changed the title Lint error causing build fail Lint error causing build fail - "InvalidWakeLockTag" Jul 12, 2024
@ChrisLeeNewr
Copy link

I have also been getting this error

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

No branches or pull requests

3 participants