Akash049 / andengine

Automatically exported from code.google.com/p/andengine
0 stars 0 forks source link

Make wakelock optional #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
As someone who loves to keep permissions minimal, it'd be nice if acquiring a 
wakelock could be made optional. I just want to have the screen stay on, and 
there's a very nice way to do this without needing a wakelock:

http://stackoverflow.com/questions/2131948/force-screen-on

Could acquiring a wakelock be made optional, or at the very least, the helpful 
error message be eliminated?

Original issue reported on code.google.com by g1adrift on 29 Dec 2010 at 3:19

GoogleCodeExporter commented 8 years ago
Changesets: 

http://code.google.com/p/andengine/source/detail?r=d4a09df357363cc5611e5d723f8a4
9f97d719b1a

http://code.google.com/p/andengine/source/detail?r=bc1d96013338a88065936fa2c8d0b
a60e8c5413e

New WakeLockOption is called WakeLockOptions.SCREEN_ON.

Original comment by NicolasG...@gmail.com on 24 Feb 2011 at 12:49