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

Commit 8d7c9e12 authored by Ajay Panicker's avatar Ajay Panicker
Browse files

Change default AVRCP version to 1.4

Poor support for AVRCP 1.6 in many carkits means the default should be 1.4 until we can work out interop for different models.

Bug: 35956792
Test: Connect Phone to Honda Carkit and play music
Change-Id: Ie48ba3f045cca5edda49399d137f2f756be0ff8a
parent 8a898162
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -456,14 +456,14 @@ static void bta_av_api_register(tBTA_AV_DATA* p_data) {
                        BTA_ID_AV);
#endif

        /* Both Audio Source and Audio Sink support AVRCP 1.6 for the
         * major roles (i.e. Audio Source -> TG 1.6 and vice versa). For
        /* Both Audio Source and Audio Sink support AVRCP 1.4 for the
         * major roles (i.e. Audio Source -> TG 1.4 and vice versa). For
         * Audio Sink role we support additional TG 1.3 to support
         * absolute volume. Here we only do TG registration.
         */
        uint16_t profile_version = AVRC_REV_1_0;
        if (profile_initialized == UUID_SERVCLASS_AUDIO_SOURCE) {
          profile_version = AVRC_REV_1_6;
          profile_version = AVRC_REV_1_4;
        } else if (profile_initialized == UUID_SERVCLASS_AUDIO_SINK) {
          // Initialize AVRCP1.4 to provide Absolute Volume control.
          profile_version = AVRC_REV_1_4;