idlefw/plugins/profileplugin/src/caiprofileplugin.cpp
branchRCL_3
changeset 130 67f2ed48ad91
parent 122 6cadd6867c17
equal deleted inserted replaced
122:6cadd6867c17 130:67f2ed48ad91
   261         							EAiProfileActiveProfileGeneralIconResource, 
   261         							EAiProfileActiveProfileGeneralIconResource, 
   262         							EAiProfileActiveProfileGeneralIconResource );
   262         							EAiProfileActiveProfileGeneralIconResource );
   263         		}
   263         		}
   264         	}
   264         	}
   265 
   265 
       
   266 		// in case of Offline profile profile indicator is not shown
       
   267         if ( observer->CanPublish( *this, EAiProfileContentActiveProfileName, EAiProfileContentActiveProfileName ) &&
       
   268         		iEngine->IsOffline() )
       
   269         	{
       
   270     		observer->Clean( *this, EAiProfileActiveProfileSilentChar, EAiProfileActiveProfileSilentChar );
       
   271     		observer->Clean( *this, EAiProfileActiveProfileIcon, 1 );
       
   272     		observer->Clean( *this, EAiProfileActiveProfileIcon, 2 );
       
   273             
       
   274     		// uncomment also this and respective policy lines in profiles.xml if whole widget needs to be hidden in AI3 
       
   275     		//observer->Clean( *this, EAiProfileContentActiveProfileName, EAiProfileContentActiveProfileName );        		    		
       
   276     		}
       
   277         
   266         if ( err == KErrNone )
   278         if ( err == KErrNone )
   267             {
   279             {
   268             err = observer->Commit( transactionId );
   280             err = observer->Commit( transactionId );
   269             
   281             
   270             if ( err == KErrNotSupported)
   282             if ( err == KErrNotSupported)