coreapplicationuis/SysAp/Src/SysApPubSubObserver.cpp
changeset 56 11a052f4b02e
parent 48 2222076f5c60
child 60 d55467af0fda
child 65 8a530a83576a
--- a/coreapplicationuis/SysAp/Src/SysApPubSubObserver.cpp	Tue Jul 06 14:26:20 2010 +0300
+++ b/coreapplicationuis/SysAp/Src/SysApPubSubObserver.cpp	Wed Aug 18 09:58:19 2010 +0300
@@ -52,6 +52,7 @@
 const TUint KCoreAppUIsMmcRemovedWithoutEjectCmdMask = 0xFFFF;
 const TUint KCoreAppUIsMmcRemovedWithoutEjectValShift = 16;
 
+_LIT(KGpsIndicatorPlugin, "PositioningIndicator");
 const TUid KPSUidSecurityUIs = { 0x100059b5 };
 const TUint32 KSecurityUIsLights  = 0x00000308;
 
@@ -396,12 +397,12 @@
  //           iSysApAppUi.HandleMessageTonePlayingQuitability( aValue );
             break;
         case KCoreAppUIsNspsRawKeyEvent:
- //           iSysApAppUi.HandleNspsRawKeyEventL();
+            iSysApAppUi.HandleNspsRawKeyEventL();
             break;
         case KCoreAppUIsLightsRawKeyEvent:
             if ( aValue == ECoreAppUIsKeyEvent )
                 {
-  //              iSysApAppUi.HandleRawKeyEventLightsRequireL();
+                iSysApAppUi.HandleRawKeyEventLightsRequireL();
                 }
             break;
         case KCoreAppUIsMmcRemovedWithoutEject:
@@ -908,10 +909,12 @@
         case KPosIntGpsHwStatus:
             if ( aValue == EPosIntGpsHwOff )
                 {
+                iSysApAppUi.iHbIndicatorSymbian->Deactivate(KGpsIndicatorPlugin);
  //               iSysApAppUi.SetIndicatorStateL( EAknIndicatorGPS, EAknIndicatorStateOff );
                 }
             else if ( aValue == EPosIntGpsHwOn )    
                 {
+                iSysApAppUi.iHbIndicatorSymbian->Activate(KGpsIndicatorPlugin);
  //               iSysApAppUi.SetIndicatorStateL( EAknIndicatorGPS, EAknIndicatorStateOn );
                 }
             else if ( aValue == EPosIntGpsHwIntermediate )