commit | 48643f38c9e92dd0a3d4a31c293c954f3df4db1b | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Mon Dec 07 18:40:56 2009 -0800 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Mon Dec 07 20:42:52 2009 -0800 |
tree | 01afc7b62be9fd10ddc1a21c88bca9a2a5e6079b | |
parent | 148b266afe2ac92b5616c24e8d5160e6f9242f69 [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.