mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Bug 791436 - [b2g-bluetooth] Readd reserved service reg/unreg for bluetooth, r=qdot
This commit is contained in:
parent
6c6a93dea8
commit
93c71d5738
@ -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