summaryrefslogtreecommitdiffstats
path: root/media/libmedia/AudioSystem.cpp
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
commitdf49e8926e85088bc7d1dc7905362437c9806b69 (patch)
treebe9ebdaa43f50e02295a6cf71e1d3b3e43fdead0 /media/libmedia/AudioSystem.cpp
parent4b2f2c06ea5be0d95da53a3307ab4c1dd940f8dd (diff)
parenteb839f5f05b7d0c4558bf845816fd3fe6201e15e (diff)
downloadframeworks_av-df49e8926e85088bc7d1dc7905362437c9806b69.zip
frameworks_av-df49e8926e85088bc7d1dc7905362437c9806b69.tar.gz
frameworks_av-df49e8926e85088bc7d1dc7905362437c9806b69.tar.bz2
am 8978547f: am f5fe3949: Fix issue 2459650.
Merge commit '8978547f254b6b6ba2e322794aa044803f3edc2a' * commit '8978547f254b6b6ba2e322794aa044803f3edc2a': Fix issue 2459650.
Diffstat (limited to 'media/libmedia/AudioSystem.cpp')
-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;