You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolve warnings in the Wakelock code snippets (#615)
* Resolve warnings in the Wakelock code snippets
I was getting code warnings in Android Studio, made some minor changes to resolve them:
* used WakeLock.acquire(timeout) instead of acquire()
* removed the redundant qualifier for POWER_SERVICE
Once this PR is approved, I'll set up a corresponding docs CL to update the description to explain the acquire() parameter.
* Apply Spotless
* Per Alice's suggestion, used constant casing for the wakelock timeout (wlTimeout -> WAKELOCK_TIMEOUT)
0 commit comments