bluetooth: Create PA_BLUETOOTH_HOOK_ADAPTER_UUIDS_CHANGED

This hook will be fired any time the UUIDs property on the adapter
object changes.

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/593>
This commit is contained in:
João Paulo Rechi Vita 2019-09-10 13:16:17 -07:00 committed by Igor Kovalenko
parent a84914f7b3
commit cd0a8a5a0c
2 changed files with 2 additions and 0 deletions

View file

@ -1676,6 +1676,7 @@ static void parse_adapter_properties(pa_bluetooth_adapter *a, DBusMessageIter *i
pa_log_debug("%s: %s", key, value);
dbus_message_iter_next(&ai);
}
pa_hook_fire(pa_bluetooth_discovery_hook(a->discovery, PA_BLUETOOTH_HOOK_ADAPTER_UUIDS_CHANGED), a);
}
}