OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab5be5c
)
AVRCP: Prefix folder name with /Filesystem
author
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Fri, 15 Feb 2013 14:02:46 +0000
(16:02 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Fri, 15 Feb 2013 14:34:04 +0000
(16:34 +0200)
This separate the scopes of the folder as documented in doc/media-api.txt
profiles/audio/avrcp.c
patch
|
blob
|
history
diff --git
a/profiles/audio/avrcp.c
b/profiles/audio/avrcp.c
index
00eeea1
..
5967180
100644
(file)
--- a/
profiles/audio/avrcp.c
+++ b/
profiles/audio/avrcp.c
@@
-1935,9
+1935,10
@@
static gboolean avrcp_set_browsed_player_rsp(struct avctp *conn,
depth = operands[13];
- folders = g_new0(char *, depth + 1);
+ folders = g_new0(char *, depth + 2);
+ folders[0] = g_strdup("/Filesystem");
- for (i = 14, count =
0; count
< depth; count++) {
+ for (i = 14, count =
1; count - 1
< depth; count++) {
char *part;
uint8_t len;