bluetoothengine/bteng/src/btengsrvstate.cpp
branchRCL_3
changeset 23 9386f31cc85b
parent 22 613943a21004
equal deleted inserted replaced
22:613943a21004 23:9386f31cc85b
   106     else
   106     else
   107         {
   107         {
   108         // Power off, starting state is to disconnect the plug-ins
   108         // Power off, starting state is to disconnect the plug-ins
   109         iState = EDisconnectPlugins;
   109         iState = EDisconnectPlugins;
   110         iOperation = EPowerOff;
   110         iOperation = EPowerOff;
   111         iServer->SettingsManager()->HandleHwPowerChangeL( EBTOff );
   111         iServer->SettingsManager()->UpdateCenRepPowerKeyL( EBTOff );
   112         iServer->SettingsManager()->SetUiIndicatorsL();
   112         iServer->SettingsManager()->SetUiIndicatorsL();
   113         }
   113         }
   114     ChangeState();
   114     ChangeState();
   115     }
   115     }
   116 
   116 
   210             }   // Fall through
   210             }   // Fall through
   211         case EIdle:
   211         case EIdle:
   212             {
   212             {
   213             if( iOperation == EPowerOn )
   213             if( iOperation == EPowerOn )
   214                 {
   214                 {
   215                 iServer->SettingsManager()->HandleHwPowerChangeL( EBTOn );
   215                 iServer->SettingsManager()->UpdateCenRepPowerKeyL( EBTOn );
   216                 iServer->SettingsManager()->SetUiIndicatorsL();
   216                 iServer->SettingsManager()->SetUiIndicatorsL();
   217                 }
   217                 }
   218             iOperation = ESrvOpIdle;
   218             iOperation = ESrvOpIdle;
   219             iServer->CheckIdle();
   219             iServer->CheckIdle();
   220             }
   220             }