From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> Browsable and Searchable should emit PropertiesChanged when their values changes. --- profiles/audio/player.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/profiles/audio/player.c b/profiles/audio/player.c index 3770af0..ddac128 100644 --- a/profiles/audio/player.c +++ b/profiles/audio/player.c @@ -959,6 +959,10 @@ void media_player_set_browsable(struct media_player *mp, bool enabled) DBG("%s", enabled ? "true" : "false"); mp->browsable = enabled; + + g_dbus_emit_property_changed(btd_get_dbus_connection(), + mp->path, MEDIA_PLAYER_INTERFACE, + "Browsable"); } void media_player_set_searchable(struct media_player *mp, bool enabled) @@ -966,6 +970,10 @@ void media_player_set_searchable(struct media_player *mp, bool enabled) DBG("%s", enabled ? "true" : "false"); mp->searchable = enabled; + + g_dbus_emit_property_changed(btd_get_dbus_connection(), + mp->path, MEDIA_PLAYER_INTERFACE, + "Searchable"); } static void media_player_set_folder_item(struct media_player *mp, -- 1.8.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html