Prevent power key capture when screen is off
The ability for an activity to capture the power key, which was added to support power key as shutter in the camera, should only allow the capture when the screen is on. Otherwise, if an activity that captures the power key is to the front when the device turns off, the user will be unable to turn it back on. Change-Id: Ib119d6914ec72554b404c1cc17eef3a932d5d402
Loading
Please register or sign in to comment