Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ca6831f5 authored by Cameron Pickett's avatar Cameron Pickett
Browse files

Fix can't change in-call volume with screen off

This is a fix for the following issue:
http://code.google.com/p/cyanogenmod/issues/detail?id=4070

Issue: Proximity sensor disables screen wake using power button. With the
"volume rocker wake" option enabled in CMParts, volume keys emulate the power
button whenever the screen is off. If the screen is off due to proximity
sensor, volume keys become useless.

Solution: When screen is off due to the proximity sensor, do NOT override the
volume keys as power buttons. This allows the user to adjust in-call volume
using volume keys while phone is to their ear.

Also: Small clean-up of unecessary code and style fixes.

Change-Id: I9f21bc1a59f940242b2196d423a7b8de62c855e0
parent 1d4860a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment