equal
deleted
inserted
replaced
227 |
227 |
228 TBool CBTEngSrvPluginMgr::FilterByEnterpriseDisablementModeL(TUid aUid) const |
228 TBool CBTEngSrvPluginMgr::FilterByEnterpriseDisablementModeL(TUid aUid) const |
229 { |
229 { |
230 TRACE_FUNC_ENTRY |
230 TRACE_FUNC_ENTRY |
231 TBool want = EFalse; |
231 TBool want = EFalse; |
232 switch ( iServer->EnterpriseEnablementMode() ) |
232 switch ( BluetoothFeatures::EnterpriseEnablementL() ) |
233 { |
233 { |
234 case BluetoothFeatures::EDisabled: |
234 case BluetoothFeatures::EDisabled: |
235 // In Disabled mode all plugins are filtered out. |
235 // In Disabled mode all plugins are filtered out. |
236 break; |
236 break; |
237 case BluetoothFeatures::EDataProfilesDisabled: |
237 case BluetoothFeatures::EDataProfilesDisabled: |
320 void CBTEngSrvPluginMgr::LoadBTSapPluginL() |
320 void CBTEngSrvPluginMgr::LoadBTSapPluginL() |
321 { |
321 { |
322 TRACE_FUNC_ENTRY |
322 TRACE_FUNC_ENTRY |
323 |
323 |
324 // SAP is supported in neither Data Profiles Disabled nor Disabled mode. |
324 // SAP is supported in neither Data Profiles Disabled nor Disabled mode. |
325 if ( iServer->EnterpriseEnablementMode() != BluetoothFeatures::EEnabled ) |
325 if ( BluetoothFeatures::EnterpriseEnablementL() != BluetoothFeatures::EEnabled ) |
326 { |
326 { |
327 TRACE_INFO( ( _L( "\tno we're not... Bluetooth is enterprise-IT-disabled" ) ) ) |
327 TRACE_INFO( ( _L( "\tno we're not... Bluetooth is enterprise-IT-disabled" ) ) ) |
328 User::Leave(KErrNotSupported); |
328 User::Leave(KErrNotSupported); |
329 } |
329 } |
330 |
330 |