terminalsecurity/SCP/SCPClient/src/SCPLockObserver.cpp
branchRCL_3
changeset 24 13d7c31c74e0
parent 23 4af31167ea77
child 25 b183ec05bd8c
equal deleted inserted replaced
23:4af31167ea77 24:13d7c31c74e0
   168         if(autolockState > EAutolockOff) {            
   168         if(autolockState > EAutolockOff) {            
   169             Dprint(_L("CSCPLockObserver::RunL() TryCancelQueryL Device Lock"));
   169             Dprint(_L("CSCPLockObserver::RunL() TryCancelQueryL Device Lock"));
   170             iDialog->TryCancelQueryL(ESecUiDeviceLocked);
   170             iDialog->TryCancelQueryL(ESecUiDeviceLocked);
   171             iSubscribedToEvent = EFalse;
   171             iSubscribedToEvent = EFalse;
   172         }
   172         }
       
   173         else if((autolockState == EAutolockOff)||(autolockState == EAutolockStatusUninitialized))
       
   174             {
       
   175             Dprint(_L("CSCPLockObserver::RunL() TryCancelQueryL Device UnLocked"));
       
   176             iDialog->TryCancelQueryL(ESecUiNone);
       
   177             iSubscribedToEvent = EFalse;
       
   178             }
   173         break;
   179         break;
   174         case ESecUiCallStateObserver: {
   180         case ESecUiCallStateObserver: {
   175             TInt callState;
   181             TInt callState;
   176             iProperty.Get(callState);
   182             iProperty.Get(callState);
   177             Dprint( (_L("CSCPLockObserver::RunL() callState before Start() : %d"), callState ));
   183             Dprint( (_L("CSCPLockObserver::RunL() callState before Start() : %d"), callState ));