Merge lp:~mfisch/powerd/proximity-sensor-fix into lp:powerd
Proposed by
Matt Fischer
Status: | Merged |
---|---|
Approved by: | Seth Forshee |
Approved revision: | 51 |
Merged at revision: | 47 |
Proposed branch: | lp:~mfisch/powerd/proximity-sensor-fix |
Merge into: | lp:powerd |
Diff against target: |
230 lines (+129/-24) 4 files modified
debian/changelog (+8/-2) src/powerd-internal.h (+6/-2) src/powerd-object.c (+20/-4) src/powerd.cpp (+95/-16) |
To merge this branch: | bzr merge lp:~mfisch/powerd/proximity-sensor-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Seth Forshee (community) | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Review via email: mp+169290@code.launchpad.net |
Commit message
* Only enable proximity sensor when the call is answered (LP: #1189945)
* Clean up some of the signal handling code by separating the signal
handlers, which should be slightly more performant
Description of the change
Listen for active/disconnected from VoiceCall and only en/disable proximity sensor on those events. This ensures that the proximity sensor is only enabled when a call is answered, not when it is incoming but not yet picked up.
To post a comment you must log in.
PASSED: Continuous integration, rev:46 jenkins. qa.ubuntu. com/job/ powerd- ci/60/ jenkins. qa.ubuntu. com/job/ powerd- saucy-armhf- ci/14 jenkins. qa.ubuntu. com/job/ powerd- saucy-armhf- ci/14/artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ powerd- ci/60/rebuild
http://