OSDN Git Service

Disable absolute volume control for deepblue2 speaker
authorPavlin Radoslavov <pavlin@google.com>
Sun, 9 Sep 2018 18:06:21 +0000 (11:06 -0700)
committerPavlin Radoslavov <pavlin@google.com>
Sun, 9 Sep 2018 18:09:07 +0000 (11:09 -0700)
The speaker does not accept the volume levels from the Phone.
It responds back with rounded down volume levels.

Bug: b/37834035
Test: Manual
Change-Id: Ie5575233c3cf31c087addd3cef1c12ad36b820b0

device/include/interop_database.h

index ad1bb5a..c742309 100644 (file)
@@ -137,6 +137,9 @@ static const interop_addr_entry_t interop_addr_database[] = {
 
     // Jeep Uconnect
     {{{0x00, 0x54, 0xaf, 0, 0, 0}}, 3, INTEROP_DISABLE_ROLE_SWITCH},
+
+    // deepblue2 - cannot change smoothly the volume: b/37834035
+    {{{0x0c, 0xa6, 0x94, 0, 0, 0}}, 3, INTEROP_DISABLE_ABSOLUTE_VOLUME},
 };
 
 typedef struct {