OSDN Git Service

AVRCP CT: Only call handle_rc_features if target registered
authorBailey Forrest <bcf@google.com>
Fri, 31 Mar 2017 04:43:28 +0000 (21:43 -0700)
committerBailey Forrest <bcf@google.com>
Fri, 31 Mar 2017 21:04:22 +0000 (14:04 -0700)
commit7745e29576703a84f4a6b47f13b3cec068033e28
treef1255ab5604579cc28b16bb00f965533bf68c003
parentb4bed6363243085268a5bdd06b88bc8d6c697094
AVRCP CT: Only call handle_rc_features if target registered

If target is not registered, handle_rc_features would clear feature
flags before handle_rc_ctrl_features can use them.

Bug: b/35807779
Test: AVRCP controller track info works on iOS.
Change-Id: Iee781f2fc926a053ba9cf30089d3a49e56b94539
btif/src/btif_rc.cc