OSDN Git Service

Bluetooth: Add AVRCP 1.3 as a developer option for AVRCP version (1/2)
authorAjay Panicker <apanicke@google.com>
Fri, 1 Sep 2017 18:58:38 +0000 (11:58 -0700)
committerMyles Watson <mylesgw@google.com>
Fri, 22 Sep 2017 16:31:49 +0000 (16:31 +0000)
This is requied for the 2012 Mazda 3 carkit as the carkit refuses to send
AVRCP commands other than passthrough commands when the version is anything
else. AVRCP 1.3 is compatible with most carkits on the market and can be
used to get most carkits working at the cost of losing many features.

Bug: 37943083
Test: Set AVRCP 1.3 in developer options and see that SDP and the AVRCP
      capabilites have updated to reflect this.
      TestTracker: 105915/3975

Change-Id: I637b695e5cd8baa5f054ca0dda81372080a96269

packages/SettingsLib/res/values/arrays.xml

index db3274a..d90665a 100644 (file)
     <!-- Titles for Bluetooth AVRCP Versions -->
     <string-array name="bluetooth_avrcp_versions">
         <item>AVRCP 1.4 (Default)</item>
+        <item>AVRCP 1.3</item>
         <item>AVRCP 1.5</item>
         <item>AVRCP 1.6</item>
     </string-array>
     <!-- Values for Bluetooth AVRCP Versions -->
     <string-array name="bluetooth_avrcp_version_values">
         <item>avrcp14</item>
+        <item>avrcp13</item>
         <item>avrcp15</item>
         <item>avrcp16</item>
     </string-array>