mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 18:08:58 +00:00
Bug 1162910 - Make bluetooth daemon as the default backend of BT APIv2. r=tzimmermann
This commit is contained in:
parent
b6bba13293
commit
5fa86d6598
@ -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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user