OSDN Git Service

[AVRCP1.6 CT] Add reply status to get_folder_items_callback.
authorSanket Agarwal <sanketa@google.com>
Mon, 29 Aug 2016 17:28:03 +0000 (10:28 -0700)
committerSanket Agarwal <sanketa@google.com>
Mon, 31 Oct 2016 23:18:15 +0000 (16:18 -0700)
commit8a8111935121fda68dbafd8cfe43173bef947dfd
tree15aea42348706278e1a3b0790e11f554b40468d2
parent0bd5b0ad1a7f7b4cec0e6c9c37586e3420b8ac76
[AVRCP1.6 CT] Add reply status to get_folder_items_callback.

It is useful to know what error code the get_folder_items_cmd gets back
with since it can help the UI decide if to keep fetching more. For ex.
if the return code is out of range then the UI does not need to keep
fetching anymore. This is useful for folders where we do not know the
size before hand (Media Player List or Now Playing List).

Bug: b/31253501

Change-Id: I0f43167d00bcf2e1e320be086fd9cacd163906a1
(cherry picked from commit e3a032a89ac2f20e96808fe2bded2c42fa3afb14)
btif/src/btif_rc.cc
stack/avrc/avrc_bld_ct.cc
stack/avrc/avrc_pars_ct.cc