shawntan/minicraft-android — pull request #3 by c99koder (2011-12-30 20:30:39+00:00)
Title: Keep screen on while playing

Acquire a WakeLock to keep the screen on while playing, and release it when the game loses focus. This is important when using a control method other than the touchscreen.