Openmoko Bug #1627: [Dialer] The bottom bar menu show "Mute" when incoming a call even setting slient or vibrate only

Openmoko Public Trac bugs at docs.openmoko.org
Wed Sep 3 11:49:14 CEST 2008


#1627: [Dialer] The bottom bar menu show "Mute" when incoming a call even setting
slient or vibrate only
---------------------------+------------------------------------------------
    Reporter:  regina_kim  |        Owner:  zecke   
        Type:  defect      |       Status:  reopened
    Priority:  normal      |    Milestone:  Om2008.9
   Component:  Qtopia      |      Version:          
    Severity:  major       |   Resolution:          
    Keywords:  must have   |    Blockedby:          
Reproducible:              |     Blocking:          
---------------------------+------------------------------------------------

Comment(by zecke):

 Code hints:
    src/server/phone/callscreen/semithemed/callscreen.cpp contains the
 "Mute" QAction. It is called m_actionMute. With m_actionMute->setVisible
 you can control if the action should be visible.

    In CallScreen::stateChanged the action will be made visible. You should
 use the QPhoneProfileManager (src/libraries/qtopia/qphoneprofile.h) to get
 the current profile and decide if it already silent. If it is silent and
 you have an incoming call do not show the action, maybe even take a look
 at CallScreen::muteRingSelected and decide if you should update the
 SoftKey.

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/1627#comment:12>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the buglog mailing list