commit | d0e598a5770a23e14727bab19db39ac4d6ad3dbd | [log] [tgz] |
---|---|---|
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Wed Aug 17 12:55:22 2016 +0300 |
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Mon Aug 22 17:52:42 2016 +0300 |
tree | 754a4682feb7525bacb1bdd12e1f01496fe27be3 | |
parent | eef031211cce27690dca12b4e87172962ab3f299 [diff] |
audio/player: Fix checking wrong flag media_player_set_searchable should check searchable flag not browsable.
diff --git a/profiles/audio/player.c b/profiles/audio/player.c index 465bff5..9d638fc 100644 --- a/profiles/audio/player.c +++ b/profiles/audio/player.c
@@ -1406,7 +1406,7 @@ void media_player_set_searchable(struct media_player *mp, bool enabled) { - if (mp->browsable == enabled) + if (mp->searchable == enabled) return; DBG("%s", enabled ? "true" : "false");