coreapplicationuis/SysAp/Src/SysApPubSubObserver.cpp
branchRCL_3
changeset 47 312d2b433792
parent 0 2e3d3ce01487
child 58 0818dd463d41
--- a/coreapplicationuis/SysAp/Src/SysApPubSubObserver.cpp	Wed Jun 09 09:52:12 2010 +0300
+++ b/coreapplicationuis/SysAp/Src/SysApPubSubObserver.cpp	Mon Jun 21 15:51:07 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). 
+* Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). 
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -712,7 +712,24 @@
                 break;                
                             
             }
-            
+        
+        if ( aValue == EFmTxStateActive )
+            {
+            if(iFmTxRemConObserver)
+                {
+                //Open Remcon and reserve the volume keys
+                iFmTxRemConObserver->StartRemconInterface();
+                }
+            }
+        else 
+            {
+            if(iFmTxRemConObserver)
+                {
+                //Disconnect from Remcon and release keys for other apps like phone app during call
+                iFmTxRemConObserver->StopRemconInterface();
+                }
+            }
+        
         if ( isFmTxTurnedOn )
             {
             if ( !iFmTxRemConObserver )