From: Ted Wang Date: Thu, 23 May 2019 11:26:34 +0000 (+0800) Subject: Disable absolute volume control for AirPods 2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=90ec9bffb3b40b1350f995bf7de3e6584ce89d55;p=android-x86%2Fsystem-bt.git Disable absolute volume control for AirPods 2 Volume of AirPods 2 start out extremely loud when absolute volume enabled. Interim response from remote show normal when register volume changed notification. Disable absolute volume control for AirPods 2 to avoid volume start out extremely loud. Bug: 129602489 Test: Play music with AirPods 2 Merged-In: I555576be1929a42ae8e01f661572a89d1993dee9 Change-Id: I555576be1929a42ae8e01f661572a89d1993dee9 --- diff --git a/device/include/interop_database.h b/device/include/interop_database.h index c7423097b..1fa2a4dad 100644 --- a/device/include/interop_database.h +++ b/device/include/interop_database.h @@ -140,6 +140,9 @@ static const interop_addr_entry_t interop_addr_database[] = { // deepblue2 - cannot change smoothly the volume: b/37834035 {{{0x0c, 0xa6, 0x94, 0, 0, 0}}, 3, INTEROP_DISABLE_ABSOLUTE_VOLUME}, + + // AirPods 2 - unacceptably loud volume + {{{0x94, 0x16, 0x25, 0, 0, 0}}, 3, INTEROP_DISABLE_ABSOLUTE_VOLUME}, }; typedef struct {