Revert "Fix for crash bug in screen-locked Android device"

This reverts commit 9ce523011eb5483b3ca354a24bd1848cd7590219.