summaryrefslogtreecommitdiff
path: root/include/media/AudioSystem.h
diff options
context:
space:
mode:
author Jean-Michel Trivi <jmtrivi@google.com> 2009-12-07 18:40:56 -0800
committer Jean-Michel Trivi <jmtrivi@google.com> 2009-12-07 20:42:52 -0800
commit6154412ee8e07e9cde129cccb944dd7ed9dcef53 (patch)
treebb568c3907b2da5ae9098457ec19ec80762b8036 /include/media/AudioSystem.h
parent6d42d80653f2c41f3e72a878a1d9a6f9693b89f7 (diff)
Partially fix bug 2111240 Detect docking / undocking event by reporting
to the AudioPolicyManager a new forced usage AudioSystem::FOR_DOCK which can take the FORCE_NONE, FORCE_BT_DOCK or FORCE_WIRED_ACCESSORY values. This CL is complemented by an update of the APM to take into account the FOR_DOCK usage.
Diffstat (limited to 'include/media/AudioSystem.h')
-rw-r--r--include/media/AudioSystem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h
index bc3dd368b84c..29aaa3f9c211 100644
--- a/include/media/AudioSystem.h
+++ b/include/media/AudioSystem.h
@@ -282,6 +282,7 @@ public:
FORCE_BT_SCO,
FORCE_BT_A2DP,
FORCE_WIRED_ACCESSORY,
+ FORCE_BT_DOCK,
NUM_FORCE_CONFIG,
FORCE_DEFAULT = FORCE_NONE
};
@@ -291,6 +292,7 @@ public:
FOR_COMMUNICATION,
FOR_MEDIA,
FOR_RECORD,
+ FOR_DOCK,
NUM_FORCE_USE
};