WakelockReleasedDangerously
A wakelock acquired with a timeout may be released by the system before calling `release`, even after checking `isHeld()`. If so, it will throw a RuntimeException. Please wrap in a try/catch block.
- Severity
- WARNING
- Tags
- FragileCode
Suppression
Suppress false positives by adding the suppression annotation @SuppressWarnings("WakelockReleasedDangerously")
to the enclosing element.