Bug 1162910 - Make bluetooth daemon as the default backend of BT APIv2. r=tzimmermann

This commit is contained in:
Jocelyn Liu 2015-05-11 03:44:00 -04:00
parent 20b75796db
commit 4c405d81df

View File

@ -138,20 +138,11 @@ BluetoothInterface::GetInstance()
*/
static const char* const sDefaultBackend[] = {
#if MOZ_B2G_BT_API_V2
#ifdef MOZ_B2G_BT_BLUEDROID
"bluedroid",
#endif
#ifdef MOZ_B2G_BT_DAEMON
"bluetoothd",
#endif
#else
#ifdef MOZ_B2G_BT_DAEMON
"bluetoothd",
#endif
#ifdef MOZ_B2G_BT_BLUEDROID
"bluedroid",
#endif
#endif
nullptr // no default backend; must be final element in array
};