public class WakeLockManager
extends java.lang.Object
| Constructor and Description |
|---|
WakeLockManager(android.content.Context context,
java.lang.String tag) |
| Modifier and Type | Method and Description |
|---|---|
void |
acquireWakeLock()
Acquire a wake lock if we don't already have one.
|
void |
releaseWakeLock()
If we have an active wake lock, release it.
|