Closed GoogleCodeExporter closed 9 years ago
Hello,
Have you tried using the FLAG_KEEP_SCREEN_ON method instead?
https://developer.android.com/training/scheduling/wakelock.html
This should be easier than acquiring a wakelock and is used in our samples.
Best,
Alain
Original comment by ala...@google.com
on 6 Nov 2014 at 12:45
I think it is temporally solved my problem.
I wonder if this script is deprecated so do this bug appears?
Original comment by j796160...@gmail.com
on 9 Nov 2014 at 4:32
Hello,
The solution I provided is actually the recommended way to keep the screen on.
It is also mentioned in the Android docs as the wake lock flag is being
deprecated.
Best,
Alain
Original comment by ala...@google.com
on 10 Nov 2014 at 4:18
Original issue reported on code.google.com by
j796160...@gmail.com
on 5 Nov 2014 at 2:40