Question

I'm having a hard time figuring out if I need to acquire a WakeLock if I'm also using startForeground().

Was it helpful?

Solution

startForeground() does not automatically acquire a WakeLock. Whether you need a WakeLock depends upon what your service is doing.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top