Merge lp:~seb128/telephony-service/dialpad-nosound-silentmode into lp:telephony-service

Proposed by Sebastien Bacher
Status: Superseded
Proposed branch: lp:~seb128/telephony-service/dialpad-nosound-silentmode
Merge into: lp:telephony-service
Diff against target: 13 lines (+2/-1)
1 file modified
handler/callhandler.cpp (+2/-1)
To merge this branch: bzr merge lp:~seb128/telephony-service/dialpad-nosound-silentmode
Reviewer Review Type Date Requested Status
Gustavo Pichorim Boiko (community) Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+260731@code.launchpad.net

This proposal has been superseded by a proposal from 2015-07-06.

Commit message

Don't play keypad sounds in silentmode

Description of the change

Don't play keypad sounds in silentmode

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Gustavo Pichorim Boiko (boiko) wrote :

Looks good and works as expected!

review: Approve

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'handler/callhandler.cpp'
--- handler/callhandler.cpp 2015-03-04 18:02:13 +0000
+++ handler/callhandler.cpp 2015-06-01 15:23:31 +0000
@@ -177,7 +177,8 @@
177 * play locally (via tone generator) only if we are on a call, or if this is 177 * play locally (via tone generator) only if we are on a call, or if this is
178 * dialpad sounds178 * dialpad sounds
179 */179 */
180 if (GreeterContacts::instance()->dialpadSoundsEnabled() && objectPath.isEmpty()180 if (GreeterContacts::instance()->dialpadSoundsEnabled() &&
181 !GreeterContacts::instance()->silentMode() && objectPath.isEmpty()
181 || !objectPath.isEmpty()) {182 || !objectPath.isEmpty()) {
182 ToneGenerator::instance()->playDTMFTone((uint)event);183 ToneGenerator::instance()->playDTMFTone((uint)event);
183 }184 }

Subscribers

People subscribed via source and target branches