idlefw/plugins/devicestatus/src/aimcnpublisher.cpp
branchRCL_3
changeset 130 67f2ed48ad91
parent 118 8baec10861af
--- a/idlefw/plugins/devicestatus/src/aimcnpublisher.cpp	Wed Sep 15 12:32:36 2010 +0300
+++ b/idlefw/plugins/devicestatus/src/aimcnpublisher.cpp	Wed Oct 13 14:53:46 2010 +0300
@@ -71,10 +71,7 @@
     
 void CAiMCNPublisher::RefreshL( TBool /*aClean*/ )
     {
-    iContentObserver->Publish( *iExtension, 
-                                EAiDeviceStatusContentMCNIndicator, 
-                                iMCNName, 
-                                0 );
+    //cannot be refreshed
     }
 
 
@@ -88,15 +85,14 @@
         {
         if ( aInfo.iMCNIndicatorType == ENWMCNIndicatorTypeActive )
             {
-            iMCNName.Copy( aInfo.iMCNName );
+            TPtrC msg = aInfo.iMCNName;
             iContentObserver->Publish( *iExtension, 
             							EAiDeviceStatusContentMCNIndicator, 
-            							iMCNName, 
+            							msg, 
             							0 );
             }
         else if ( aInfo.iMCNIndicatorType == ENWMCNIndicatorTypeNone )
             {
-            iMCNName.Copy( KNullDesC );
             iContentObserver->Clean( *iExtension, 
             							EAiDeviceStatusContentMCNIndicator,
             							0 );