Loading system/bta/av/bta_av_main.cc +11 −16 Original line number Diff line number Diff line Loading @@ -468,12 +468,11 @@ static void bta_av_api_register(tBTA_AV_DATA* p_data) { BTA_ID_AV); #endif /* For the Audio Sink role we support additional TG 1.3 to support /* For the Audio Sink role we support additional TG to support * absolute volume. */ uint16_t profile_version = AVRC_REV_1_0; if (profile_initialized == UUID_SERVCLASS_AUDIO_SOURCE) { if (!strncmp(AVRCP_1_6_STRING, avrcp_version, sizeof(AVRCP_1_6_STRING))) { profile_version = AVRC_REV_1_6; Loading @@ -486,10 +485,6 @@ static void bta_av_api_register(tBTA_AV_DATA* p_data) { } else { 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; } bta_ar_reg_avrc( UUID_SERVCLASS_AV_REM_CTRL_TARGET, "AV Remote Control Target", NULL, Loading Loading
system/bta/av/bta_av_main.cc +11 −16 Original line number Diff line number Diff line Loading @@ -468,12 +468,11 @@ static void bta_av_api_register(tBTA_AV_DATA* p_data) { BTA_ID_AV); #endif /* For the Audio Sink role we support additional TG 1.3 to support /* For the Audio Sink role we support additional TG to support * absolute volume. */ uint16_t profile_version = AVRC_REV_1_0; if (profile_initialized == UUID_SERVCLASS_AUDIO_SOURCE) { if (!strncmp(AVRCP_1_6_STRING, avrcp_version, sizeof(AVRCP_1_6_STRING))) { profile_version = AVRC_REV_1_6; Loading @@ -486,10 +485,6 @@ static void bta_av_api_register(tBTA_AV_DATA* p_data) { } else { 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; } bta_ar_reg_avrc( UUID_SERVCLASS_AV_REM_CTRL_TARGET, "AV Remote Control Target", NULL, Loading