Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29db451c authored by Joseph Pirozzo's avatar Joseph Pirozzo Committed by android-build-merger
Browse files

AVRCP Controller metadata feature

am: 46398430

Change-Id: I01b9e396a7e81a325487b98e1be79a68101e4898
parents 16518587 46398430
Loading
Loading
Loading
Loading
+4 −3
Original line number Original line Diff line number Diff line
@@ -466,11 +466,12 @@ void handle_rc_ctrl_features(btif_rc_device_cb_t* p_dev) {
    rc_features |= BTRC_FEAT_ABSOLUTE_VOLUME;
    rc_features |= BTRC_FEAT_ABSOLUTE_VOLUME;
  }
  }


  if ((p_dev->rc_features & BTA_AV_FEAT_METADATA) &&
  if (p_dev->rc_features & BTA_AV_FEAT_METADATA) {
      (p_dev->rc_features & BTA_AV_FEAT_VENDOR) &&
      (p_dev->rc_features_processed != true)) {
    rc_features |= BTRC_FEAT_METADATA;
    rc_features |= BTRC_FEAT_METADATA;
  }


  if ((p_dev->rc_features & BTA_AV_FEAT_VENDOR) &&
      (p_dev->rc_features_processed != true)) {
    /* Mark rc features processed to avoid repeating
    /* Mark rc features processed to avoid repeating
     * the AVRCP procedure every time on receiving this
     * the AVRCP procedure every time on receiving this
     * update.
     * update.