equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
710 isFmTxTurnedOn = ETrue; |
710 isFmTxTurnedOn = ETrue; |
711 } |
711 } |
712 break; |
712 break; |
713 |
713 |
714 } |
714 } |
715 |
715 |
|
716 if ( aValue == EFmTxStateActive ) |
|
717 { |
|
718 if(iFmTxRemConObserver) |
|
719 { |
|
720 //Open Remcon and reserve the volume keys |
|
721 iFmTxRemConObserver->StartRemconInterface(); |
|
722 } |
|
723 } |
|
724 else |
|
725 { |
|
726 if(iFmTxRemConObserver) |
|
727 { |
|
728 //Disconnect from Remcon and release keys for other apps like phone app during call |
|
729 iFmTxRemConObserver->StopRemconInterface(); |
|
730 } |
|
731 } |
|
732 |
716 if ( isFmTxTurnedOn ) |
733 if ( isFmTxTurnedOn ) |
717 { |
734 { |
718 if ( !iFmTxRemConObserver ) |
735 if ( !iFmTxRemConObserver ) |
719 { |
736 { |
720 // create observer which captures volume keys |
737 // create observer which captures volume keys |