audio/avrcp: Add support for GetTotalNumberOfItems 02/51502/1
authorBharat Panda <bharat.panda@samsung.com>
Tue, 10 Nov 2015 07:07:36 +0000 (12:37 +0530)
committerBharat Panda <bharat.panda@samsung.com>
Tue, 10 Nov 2015 07:09:18 +0000 (12:39 +0530)
commit7998533b3030b8f7b5c1abec646cab8a04970959
treecd7c6aa8bc32cbc7f866e148ab08e3dc2eefc279
parentf37981ababd10cee13868a91abf2a585639e664d
audio/avrcp: Add support for GetTotalNumberOfItems

Added support for AVRCP GetTotalNumberOfItems command to get
total num of items in a folder(with a given scope) prior calling
GetFolderItems to retrieve the content of the folder.

On response, emit PropertyChanged for "NumberOfItems" property on
MediaPlayer1 interface.

git repo link:
http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=f17d3a2c3b0d4a8869ff297f53d55d1cdd524421

Change-Id: I8b3274c376e0a009d4910412dce1b17e0f5b0ac6
profiles/audio/avrcp.c
profiles/audio/player.c
profiles/audio/player.h