equal
deleted
inserted
replaced
4703 // CPhoneState::SetToolbarDimming |
4703 // CPhoneState::SetToolbarDimming |
4704 // --------------------------------------------------------- |
4704 // --------------------------------------------------------- |
4705 // |
4705 // |
4706 EXPORT_C void CPhoneState::SetToolbarDimming( TBool aDimmed ) |
4706 EXPORT_C void CPhoneState::SetToolbarDimming( TBool aDimmed ) |
4707 { |
4707 { |
4708 if ( FeatureManager::FeatureSupported( KFeatureIdTouchCallHandling ) ) |
4708 if ( FeatureManager::FeatureSupported( KFeatureIdTouchCallHandling ) ) |
4709 { |
4709 { |
4710 TPhoneCmdParamBoolean booleanParam; |
4710 // Check that we are not undimming toolbar in security mode |
4711 booleanParam.SetBoolean( aDimmed ); |
4711 if ( !( !aDimmed && iStateMachine->SecurityMode()->IsSecurityMode() ) ) |
4712 TRAP_IGNORE( iViewCommandHandle->ExecuteCommandL( |
4712 { |
4713 EPhoneViewSetToolbarDimming, &booleanParam )); |
4713 TPhoneCmdParamBoolean booleanParam; |
|
4714 booleanParam.SetBoolean( aDimmed ); |
|
4715 TRAP_IGNORE( iViewCommandHandle->ExecuteCommandL( |
|
4716 EPhoneViewSetToolbarDimming, &booleanParam )); |
|
4717 } |
4714 } |
4718 } |
4715 } |
4719 } |
4716 |
4720 |
4717 // --------------------------------------------------------- |
4721 // --------------------------------------------------------- |
4718 // CPhoneState::SetToolbarButtonLoudspeakerEnabled |
4722 // CPhoneState::SetToolbarButtonLoudspeakerEnabled |