mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 791436 - [b2g-bluetooth] Readd reserved service reg/unreg for bluetooth, r=qdot
This commit is contained in:
parent
dd95d5c4ab
commit
078c6ba561
@ -560,8 +560,6 @@ RegisterAgent(const nsAString& aAdapterPath)
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
static void
|
||||
AddReservedServices(const nsAString& aAdapterPath)
|
||||
{
|
||||
@ -999,6 +997,7 @@ EventFilter(DBusConnection* aConn, DBusMessage* aMsg, void* aData)
|
||||
errorStr.AssignLiteral("Cannot parse manager path!");
|
||||
} else {
|
||||
sDefaultAdapterPath = NS_ConvertUTF8toUTF16(str);
|
||||
AddReservedServices(sDefaultAdapterPath);
|
||||
v = sDefaultAdapterPath;
|
||||
}
|
||||
} else if (dbus_message_is_signal(aMsg, DBUS_MANAGER_IFACE, "PropertyChanged")) {
|
||||
|
Loading…
Reference in New Issue
Block a user