Commit: 138f83178766eb7e3618ac9b3499945e4937b0cd
Parent: 547f9e37b89126a74d69a6066f0d315250ee70d2
Author: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2011-10-02 18:47:58
Tree: ff797f2869da272aa3291210597bf6eee5989e97

AVRCP: return empty string instead of rejecting If media attribute is not available for a certain media file, return an empty string instead of rejecting the request. The spec is not so clear if only the title should be handled as an empty string when not present, but this is the only alternative to rejecting the request. IOP tests showed that some CT devices don't like reject messages: they never ask for an attribute again if they previously received a REJECTED message for that attribute. They consider REJECTED as "TG doesn't implement it these optional attributes" as opposed to what we had before, "this attribute is currently not available".

Diffstat

M audio/avrcp.c | 41 +++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - -

1 files changed, 19 insertions(+), 22 deletions(-)

View Full Diff | Patch