summaryrefslogtreecommitdiffstats
path: root/device/include/interop.h
diff options
context:
space:
mode:
authorAndre Eisenbach <eisenbach@google.com>2015-12-11 12:32:21 -0800
committerAndre Eisenbach <eisenbach@google.com>2015-12-28 15:14:58 -0800
commitbef34921ee313f8378059d3205ebb485498b3404 (patch)
tree5ad0b4dbbc2883a93efd7596699fee49bed11d91 /device/include/interop.h
parent22c5f47b7f7bc4739fb1ddf85eb81d8b20f7b222 (diff)
downloadandroid_system_bt-bef34921ee313f8378059d3205ebb485498b3404.tar.gz
android_system_bt-bef34921ee313f8378059d3205ebb485498b3404.tar.bz2
android_system_bt-bef34921ee313f8378059d3205ebb485498b3404.zip
DO NOT MERGE Blacklist devices for absolute volume control
Some devices do not play well with absolute volume control. They either play back music at unacceptably loud volume levels or provide insufficiently granular volume control where a single "step" of volume change results in unexpectedly large jumps in volume. Now with 100% less build errors ;) Bug: 26070064, 26060431 Change-Id: Ibe46c4997bc1ca9e6f78cafb3b434309d8511fcb
Diffstat (limited to 'device/include/interop.h')
-rw-r--r--device/include/interop.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/device/include/interop.h b/device/include/interop.h
index e2ca682a3..7765ce814 100644
--- a/device/include/interop.h
+++ b/device/include/interop.h
@@ -32,7 +32,12 @@ typedef enum {
// requiring multiple retries to complete pairing. To avoid degrading the user
// experience for those devices, automatically re-try pairing if page
// timeouts are received during pairing.
- INTEROP_AUTO_RETRY_PAIRING
+ INTEROP_AUTO_RETRY_PAIRING,
+
+ // Devices requiring this workaround do not handle Bluetooth Absolute Volume
+ // control correctly, leading to undesirable (potentially harmful) volume levels
+ // or general lack of controlability.
+ INTEROP_DISABLE_ABSOLUTE_VOLUME
} interop_feature_t;
// Check if a given |addr| matches a known interoperability workaround as identified