summaryrefslogtreecommitdiffstats
path: root/device/include/interop.h
diff options
context:
space:
mode:
authorAndre Eisenbach <eisenbach@google.com>2015-12-11 12:32:21 -0800
committerThe Android Automerger <android-build@android.com>2016-03-01 19:15:48 -0800
commit3f448e48af795e3017f9fc792c411c33e8b2c9c1 (patch)
treea7b596632bbcfe8875019dfc7d9e5524cf176953 /device/include/interop.h
parent11b7a84bd390192852c0b137284184846e5f281b (diff)
downloadandroid_system_bt-3f448e48af795e3017f9fc792c411c33e8b2c9c1.tar.gz
android_system_bt-3f448e48af795e3017f9fc792c411c33e8b2c9c1.tar.bz2
android_system_bt-3f448e48af795e3017f9fc792c411c33e8b2c9c1.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. Bug: 26070064, 26060431 Change-Id: I5a336fba87119325b47a5ad385e9c48a631f2121
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 b2b01bb4e..883e24532 100644
--- a/device/include/interop.h
+++ b/device/include/interop.h
@@ -34,7 +34,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