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

Commit 17e8e1ea authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Change default AVRCP version to 1.4"

parents f25b11dd 8d7c9e12
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;