Skip to content

Lint error causing build fail - "InvalidWakeLockTag" #531

@phil-hudson

Description

@phil-hudson

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");
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions