phoneapp/phoneuicontrol/src/cphoneremotecontrolhandler.cpp
branchRCL_3
changeset 24 41a7f70b3818
parent 23 40a3f856b14d
child 25 5266b1f337bd
equal deleted inserted replaced
23:40a3f856b14d 24:41a7f70b3818
   111     // Act on the button
   111     // Act on the button
   112     switch ( aButtonAct )
   112     switch ( aButtonAct )
   113         {
   113         {
   114         case ERemConCoreApiButtonClick:
   114         case ERemConCoreApiButtonClick:
   115             {
   115             {
   116             // Cancel the button repeat timer
       
   117             if( iButtonRepeatTimer->IsActive() ) 
       
   118                 {
       
   119                 iButtonRepeatTimer->Cancel();
       
   120                 }
       
   121 
       
   122             // Pass the remote control operation to the current state
   116             // Pass the remote control operation to the current state
   123             TRAP_IGNORE( handled = 
   117             TRAP_IGNORE( handled = 
   124                 iStateMachine->State()->
   118                 iStateMachine->State()->
   125                     HandleRemConCommandL( aOperationId, aButtonAct ) );
   119                     HandleRemConCommandL( aOperationId, aButtonAct ) );
   126             break;            
   120             break;