diff options
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 |
commit | 48643f38c9e92dd0a3d4a31c293c954f3df4db1b (patch) | |
tree | 01afc7b62be9fd10ddc1a21c88bca9a2a5e6079b /include | |
parent | 148b266afe2ac92b5616c24e8d5160e6f9242f69 (diff) | |
download | frameworks_av-48643f38c9e92dd0a3d4a31c293c954f3df4db1b.zip frameworks_av-48643f38c9e92dd0a3d4a31c293c954f3df4db1b.tar.gz frameworks_av-48643f38c9e92dd0a3d4a31c293c954f3df4db1b.tar.bz2 |
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')
-rw-r--r-- | include/media/AudioSystem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h index bc3dd36..29aaa3f 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 }; |