summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2010-02-22 11:19:51 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2010-02-22 11:19:51 -0800
commit9a56aaf12b462a064e81e02386eca8a1e77fe737 (patch)
treec6c7e3a8ac5ff260f9823e2c774ccd721f27b92c
parentbcea8124a1d85c610b4bd4e6d360a861d2f61793 (diff)
parent8978547f254b6b6ba2e322794aa044803f3edc2a (diff)
downloadframeworks_base-9a56aaf12b462a064e81e02386eca8a1e77fe737.zip
frameworks_base-9a56aaf12b462a064e81e02386eca8a1e77fe737.tar.gz
frameworks_base-9a56aaf12b462a064e81e02386eca8a1e77fe737.tar.bz2
am 8978547f: am f5fe3949: Fix issue 2459650.
Merge commit '8978547f254b6b6ba2e322794aa044803f3edc2a' * commit '8978547f254b6b6ba2e322794aa044803f3edc2a': Fix issue 2459650.
-rw-r--r--media/libmedia/AudioSystem.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/media/libmedia/AudioSystem.cpp b/media/libmedia/AudioSystem.cpp
index c5dfbb5..3f9c6d6 100644
--- a/media/libmedia/AudioSystem.cpp
+++ b/media/libmedia/AudioSystem.cpp
@@ -709,7 +709,9 @@ bool AudioSystem::isBluetoothScoDevice(audio_devices device)
bool AudioSystem::isLowVisibility(stream_type stream)
{
- if (stream == AudioSystem::SYSTEM || stream == AudioSystem::NOTIFICATION) {
+ if (stream == AudioSystem::SYSTEM ||
+ stream == AudioSystem::NOTIFICATION ||
+ stream == AudioSystem::RING) {
return true;
} else {
return false;