uifw/AvKon/src/aknindicatordataobserver.cpp
branchRCL_3
changeset 56 d48ab3b357f1
parent 55 aecbbf00d063
equal deleted inserted replaced
55:aecbbf00d063 56:d48ab3b357f1
    63 	{
    63 	{
    64 	if ( iDataSubscriber )
    64 	if ( iDataSubscriber )
    65 		{
    65 		{
    66 		iDataSubscriber->RemoveObserver( this );
    66 		iDataSubscriber->RemoveObserver( this );
    67 		}
    67 		}
    68 
       
    69     }
    68     }
    70 
    69 
    71 
    70 
    72 // ---------------------------------------------------------------------------
    71 // ---------------------------------------------------------------------------
    73 // CAknIndicatorDataObserver::HandleUpdateL
    72 // CAknIndicatorDataObserver::HandleUpdateL
    75 // ---------------------------------------------------------------------------
    74 // ---------------------------------------------------------------------------
    76 //
    75 //
    77 void CAknIndicatorDataObserver::HandleUpdateL(
    76 void CAknIndicatorDataObserver::HandleUpdateL(
    78     const TAknStatusPaneStateData& aData )
    77     const TAknStatusPaneStateData& aData )
    79 	{
    78 	{
    80 	if ( !iDataSubscriber )
    79 	if ( !iDataSubscriber || !iIndicatorPane->IsVisible() )
    81 	    {
    80 	    {
    82 		return;
    81 		return;
    83 	    }
    82 	    }
    84 
    83 
    85 	TAknIndicatorState state = aData.iIndicatorState;
    84 	TAknIndicatorState state = aData.iIndicatorState;