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

Commit 5a6e27ba authored by Sharvil Nanavati's avatar Sharvil Nanavati Committed by android-build-merger
Browse files

Merge "Fix absolute volume reporting if AVRC_ADV_CTRL_INCLUDED is false" into cw-e-dev

am: 98168c26

* commit '98168c26':
  Fix absolute volume reporting if AVRC_ADV_CTRL_INCLUDED is false
parents d9fb39b0 98168c26
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -335,11 +335,13 @@ void handle_rc_features()
        rc_features |= BTRC_FEAT_BROWSE;
    }

#if (AVRC_ADV_CTRL_INCLUDED == TRUE)
    if ( (btif_rc_cb.rc_features & BTA_AV_FEAT_ADV_CTRL) &&
         (btif_rc_cb.rc_features & BTA_AV_FEAT_RCTG))
    {
        rc_features |= BTRC_FEAT_ABSOLUTE_VOLUME;
    }
#endif

    if (btif_rc_cb.rc_features & BTA_AV_FEAT_METADATA)
    {