summaryrefslogtreecommitdiffstats
path: root/include/media/AudioSystem.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2009-12-17 03:12:59 -0800
committerJean-Michel Trivi <jmtrivi@google.com>2009-12-22 16:20:46 -0800
commit7ddd450f91dc508b26cc550f5b42fded8a731654 (patch)
tree0b6fb604706672d77b9e4c7bb012fb293c9a5baa /include/media/AudioSystem.h
parent8eb8011120a68a86199b9960cf1ae91a6ddc7e6d (diff)
downloadframeworks_av-7ddd450f91dc508b26cc550f5b42fded8a731654.zip
frameworks_av-7ddd450f91dc508b26cc550f5b42fded8a731654.tar.gz
frameworks_av-7ddd450f91dc508b26cc550f5b42fded8a731654.tar.bz2
Fix issues 2333450 and 2333559:
Add new config values to AudioSystem::FOR_DOCK force usage to differenciate car and desk docks. Use a receiver for the sticky Intent.ACTION_DOCK_EVENT in AudioService to detect the type of dock and select force usage accordingly.
Diffstat (limited to 'include/media/AudioSystem.h')
-rw-r--r--include/media/AudioSystem.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h
index 29aaa3f..c87007c 100644
--- a/include/media/AudioSystem.h
+++ b/include/media/AudioSystem.h
@@ -282,7 +282,8 @@ public:
FORCE_BT_SCO,
FORCE_BT_A2DP,
FORCE_WIRED_ACCESSORY,
- FORCE_BT_DOCK,
+ FORCE_BT_CAR_DOCK,
+ FORCE_BT_DESK_DOCK,
NUM_FORCE_CONFIG,
FORCE_DEFAULT = FORCE_NONE
};