diff options
author | Jay Shrauner <shrauner@google.com> | 2015-04-12 01:55:29 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-04-12 01:55:30 +0000 |
commit | 89ccc8733404ee4992e897b507492ec778f7281c (patch) | |
tree | 5d2b98083292a3b5adb345704c4aa576e4fc29fe | |
parent | 6f28525ef6718252f3023a88046a295f167b5242 (diff) | |
parent | e9ab17c59b246ca373459d89597a75b40d1ca59a (diff) |
Merge "Don't use AudioState.ROUTE_ALL"
-rw-r--r-- | InCallUI/src/com/android/incallui/AudioModeProvider.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/InCallUI/src/com/android/incallui/AudioModeProvider.java b/InCallUI/src/com/android/incallui/AudioModeProvider.java index a26766126..d4d21172e 100644 --- a/InCallUI/src/com/android/incallui/AudioModeProvider.java +++ b/InCallUI/src/com/android/incallui/AudioModeProvider.java @@ -33,7 +33,8 @@ public class AudioModeProvider implements InCallPhoneListener { private static AudioModeProvider sAudioModeProvider = new AudioModeProvider(); private int mAudioMode = AudioState.ROUTE_EARPIECE; private boolean mMuted = false; - private int mSupportedModes = AudioState.ROUTE_ALL; + private int mSupportedModes = AudioState.ROUTE_EARPIECE | AudioState.ROUTE_BLUETOOTH | + AudioState.ROUTE_WIRED_HEADSET | AudioState.ROUTE_SPEAKER; private final List<AudioModeListener> mListeners = Lists.newArrayList(); private Phone mPhone; |