bluetoothengine/btaudioman/src/basrvaccstatequery.cpp
changeset 15 00f9ee97d895
parent 0 f63038272f30
equal deleted inserted replaced
2:0b192a3a05a4 15:00f9ee97d895
   131     
   131     
   132     // Take HFP supported feature from BTMAC if it is not available
   132     // Take HFP supported feature from BTMAC if it is not available
   133     if ( ( AccInfo().iConnProfiles & EHFP ) && 
   133     if ( ( AccInfo().iConnProfiles & EHFP ) && 
   134          AccInfo().iSupportedFeatures[TAccInfo::EHFPIndex] == 0 )
   134          AccInfo().iSupportedFeatures[TAccInfo::EHFPIndex] == 0 )
   135         {
   135         {
   136         CBTAccPlugin* plugin = Parent().AccMan().PluginMan().Plugin(EHFP);;
   136         CBTAccPlugin* plugin = Parent().AccMan().PluginMan().Plugin(EHFP);
   137         AccInfo().SetSupportedFeature((TUint16)plugin->GetRemoteSupportedFeature(), TAccInfo::EHFPIndex);
   137         AccInfo().SetSupportedFeature((TUint16)plugin->GetRemoteSupportedFeature(), TAccInfo::EHFPIndex);
   138         }
   138         }
   139     
   139     
   140     // if e.g. A2DP is supported by headset but BTSAC is not in ROM, filter it.
   140     // if e.g. A2DP is supported by headset but BTSAC is not in ROM, filter it.
   141     Parent().AccMan().FilterProfileSupport(AccInfo());
   141     Parent().AccMan().FilterProfileSupport(AccInfo());
   190     CleanupStack::PopAndDestroy(&conflicts);
   190     CleanupStack::PopAndDestroy(&conflicts);
   191     Parent().ChangeStateL(next);    
   191     Parent().ChangeStateL(next);    
   192     }
   192     }
   193 
   193 
   194 CBasrvAccStateQuery::CBasrvAccStateQuery(CBasrvAcc& aParent, TBool aConnectingRequest)
   194 CBasrvAccStateQuery::CBasrvAccStateQuery(CBasrvAcc& aParent, TBool aConnectingRequest)
   195     : CBasrvAccState(aParent, NULL), iConnecting(aConnectingRequest)
   195     : CBasrvAccState(aParent), iConnecting(aConnectingRequest)
   196     {
   196     {
   197     }
   197     }
   198 
   198 
   199 void CBasrvAccStateQuery::ConstructL()
   199 void CBasrvAccStateQuery::ConstructL()
   200     {
   200     {