hfp_hf_bluez5: UUIDs can change after Pairing

For example, in the case of a remote-initiated pairing, the device may
be created and Paired first, then the UUID array is emitted later.
This commit is contained in:
Vinicius Costa Gomes 2013-04-18 14:50:38 -03:00 committed by Denis Kenzior
parent a2d0f434fa
commit 456b8c9723
1 changed files with 2 additions and 1 deletions

View File

@ -744,7 +744,8 @@ static void property_changed(GDBusProxy *proxy, const char *name,
if (g_str_equal(BLUEZ_DEVICE_INTERFACE, interface) == FALSE)
return;
if (g_str_equal("Paired", name) != TRUE)
if (g_str_equal("Paired", name) != TRUE &&
g_str_equal("UUIDs", name) != TRUE)
return;
modem_register_from_proxy(proxy, path);