phoneapp/phoneuiutils/src/ctelewaitingidle.cpp
changeset 21 92ab7f8d0eab
parent 0 5f000ab63145
child 51 f39ed5e045e0
child 62 5266b1f337bd
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
    91     if ( iStatus != KErrNone )
    91     if ( iStatus != KErrNone )
    92         {
    92         {
    93         //error code is ignored, as CPeriodic. 
    93         //error code is ignored, as CPeriodic. 
    94         return;
    94         return;
    95         }
    95         }
    96    	StartWaitingIdleL();
    96     StartWaitingIdleL();
    97     }
    97     }
    98 
    98 
    99 // -----------------------------------------------------------------------------
    99 // -----------------------------------------------------------------------------
   100 // CTeleWaitingIdle::StartWaitingIdle
   100 // CTeleWaitingIdle::StartWaitingIdle
   101 // (other items were commented in a header).
   101 // (other items were commented in a header).
   102 // -----------------------------------------------------------------------------
   102 // -----------------------------------------------------------------------------
   103 //
   103 //
   104 void CTeleWaitingIdle::StartWaitingIdleL()
   104 void CTeleWaitingIdle::StartWaitingIdleL()
   105     {
   105     {
   106 //    Phone_PRINT("WI.StartWaitingIdle >");
   106 //    Phone_PRINT("WI.StartWaitingIdle >");
   107   	TInt state(0);
   107     TInt state(0);
   108 
   108 
   109     User::LeaveIfError( 
   109     User::LeaveIfError( 
   110         iProperty.Get( 
   110         iProperty.Get( 
   111         KPSUidStartup, 
   111         KPSUidStartup, 
   112         KPSIdlePhase1Ok, 
   112         KPSIdlePhase1Ok, 
   132                 
   132                 
   133         if ( !IsActive() )
   133         if ( !IsActive() )
   134             {        
   134             {        
   135             iProperty.Subscribe( iStatus );
   135             iProperty.Subscribe( iStatus );
   136             SetActive();
   136             SetActive();
   137             }    	
   137             }       
   138         }
   138         }
   139     }
   139     }
   140     
   140     
   141 //  End of File  
   141 //  End of File