bluetoothengine/btnotif/src/BTNInquiAO.cpp
branchRCL_3
changeset 14 2f88a7d66f50
parent 0 f63038272f30
child 16 95674584745d
equal deleted inserted replaced
12:b23265fb36da 14:2f88a7d66f50
    48 // ----------------------------------------------------------
    48 // ----------------------------------------------------------
    49 //
    49 //
    50 void CBTInqUI::IssueRequestL()
    50 void CBTInqUI::IssueRequestL()
    51     {
    51     {
    52     FLOG(_L("[BTNOTIF]\t CBTInqUI::IssueRequestL()"));
    52     FLOG(_L("[BTNOTIF]\t CBTInqUI::IssueRequestL()"));
       
    53     
       
    54     if (reinterpret_cast<CBTNotifierBase*>(iDevSearchObserver)->AutoLockOnL())
       
    55         {
       
    56         // Cancel bt inquiry immediately if device is locked.
       
    57         FLOG(_L("[BTNOTIF]\t CBTInqUI::IssueRequestL() Device is locked"));
       
    58         Cancel();
       
    59         return;
       
    60         }
    53     
    61     
    54     TUint action = 0; 
    62     TUint action = 0; 
    55     if( !iPageForName )
    63     if( !iPageForName )
    56         {
    64         {
    57         action = KHostResInquiry + KHostResEir + KHostResIgnoreCache;
    65         action = KHostResInquiry + KHostResEir + KHostResIgnoreCache;