diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2015-01-29 20:34:33 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-01-29 20:34:33 +0000 |
commit | 88873ae1b01208a9e70b80860274f429d08a6c64 (patch) | |
tree | e65a0e3199208d53cf149757174f1e523bc9e0a3 /services/audiopolicy | |
parent | 183a0e52ac3130501c417005f6363eeec62c0afd (diff) | |
parent | f1121d963b51c798ab28c85eeff1eedc9bb2c186 (diff) | |
download | frameworks_av-88873ae1b01208a9e70b80860274f429d08a6c64.zip frameworks_av-88873ae1b01208a9e70b80860274f429d08a6c64.tar.gz frameworks_av-88873ae1b01208a9e70b80860274f429d08a6c64.tar.bz2 |
am f1121d96: am 0d84ba3f: Merge "Fix FLAG_BEACON regression" into lmp-mr1-dev
* commit 'f1121d963b51c798ab28c85eeff1eedc9bb2c186':
Fix FLAG_BEACON regression
Diffstat (limited to 'services/audiopolicy')
-rw-r--r-- | services/audiopolicy/AudioPolicyManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/services/audiopolicy/AudioPolicyManager.cpp b/services/audiopolicy/AudioPolicyManager.cpp index fb74d66..4e62904 100644 --- a/services/audiopolicy/AudioPolicyManager.cpp +++ b/services/audiopolicy/AudioPolicyManager.cpp @@ -7981,6 +7981,9 @@ audio_stream_type_t AudioPolicyManager::streamTypefromAttributesInt(const audio_ if ((attr->flags & AUDIO_FLAG_SCO) == AUDIO_FLAG_SCO) { return AUDIO_STREAM_BLUETOOTH_SCO; } + if ((attr->flags & AUDIO_FLAG_BEACON) == AUDIO_FLAG_BEACON) { + return AUDIO_STREAM_TTS; + } // usage to stream type mapping switch (attr->usage) { |