One of the most frequent pieces of feedback on Sudoku is that users don’t want the screen to dim when they’re playing. I noticed a few similar apps requiring the
WAKE_LOCK permission, but there is a simpler, less dangerous solution.
View has a neat
keepScreenOn attribute. Set this attribute in an XML style and the screen will no longer dim when that
View is visible. No permission required.