idlefw/plugins/devicestatus/src/aimcnpublisher.cpp
branchRCL_3
changeset 31 8baec10861af
parent 30 a5a39a295112
--- a/idlefw/plugins/devicestatus/src/aimcnpublisher.cpp	Wed Sep 01 12:22:09 2010 +0100
+++ b/idlefw/plugins/devicestatus/src/aimcnpublisher.cpp	Tue Sep 14 21:55:16 2010 +0300
@@ -71,7 +71,10 @@
     
 void CAiMCNPublisher::RefreshL( TBool /*aClean*/ )
     {
-    //cannot be refreshed
+    iContentObserver->Publish( *iExtension, 
+                                EAiDeviceStatusContentMCNIndicator, 
+                                iMCNName, 
+                                0 );
     }
 
 
@@ -85,14 +88,15 @@
         {
         if ( aInfo.iMCNIndicatorType == ENWMCNIndicatorTypeActive )
             {
-            TPtrC msg = aInfo.iMCNName;
+            iMCNName.Copy( aInfo.iMCNName );
             iContentObserver->Publish( *iExtension, 
             							EAiDeviceStatusContentMCNIndicator, 
-            							msg, 
+            							iMCNName, 
             							0 );
             }
         else if ( aInfo.iMCNIndicatorType == ENWMCNIndicatorTypeNone )
             {
+            iMCNName.Copy( KNullDesC );
             iContentObserver->Clean( *iExtension, 
             							EAiDeviceStatusContentMCNIndicator,
             							0 );