diff options
author | Sailesh Nepal <sail@google.com> | 2016-02-21 13:43:45 -0800 |
---|---|---|
committer | Sailesh Nepal <sail@google.com> | 2016-02-22 12:40:45 -0800 |
commit | e4be64852dac9e2c55ce8dd5b7063b0c21b9700e (patch) | |
tree | f45747e3fd824f97b8f8ccf9254b9533f5deb83d /InCallUI/src/com/android/incallui/AudioModeProvider.java | |
parent | 68d86c656e5522dec1b04e85ebc0e0f78e436c3d (diff) |
Remove CallAudioStateCompat
Now that we're no longer backwards compatible with Lollipop we don't
need CallAudioStateCompat. See ag/870962 for more info.
Bug: 26676586
Change-Id: I7c754d89a6c9e13bf5a004b7c5b15b88b9aff9ad
Diffstat (limited to 'InCallUI/src/com/android/incallui/AudioModeProvider.java')
-rw-r--r-- | InCallUI/src/com/android/incallui/AudioModeProvider.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/InCallUI/src/com/android/incallui/AudioModeProvider.java b/InCallUI/src/com/android/incallui/AudioModeProvider.java index 961fb11ff..ea56dd624 100644 --- a/InCallUI/src/com/android/incallui/AudioModeProvider.java +++ b/InCallUI/src/com/android/incallui/AudioModeProvider.java @@ -16,9 +16,9 @@ package com.android.incallui; -import com.google.common.collect.Lists; +import android.telecom.CallAudioState; -import com.android.dialer.compat.CallAudioStateCompat; +import com.google.common.collect.Lists; import java.util.List; @@ -30,11 +30,11 @@ public class AudioModeProvider { static final int AUDIO_MODE_INVALID = 0; private static AudioModeProvider sAudioModeProvider = new AudioModeProvider(); - private int mAudioMode = CallAudioStateCompat.ROUTE_EARPIECE; + private int mAudioMode = CallAudioState.ROUTE_EARPIECE; private boolean mMuted = false; - private int mSupportedModes = CallAudioStateCompat.ROUTE_EARPIECE - | CallAudioStateCompat.ROUTE_BLUETOOTH | CallAudioStateCompat.ROUTE_WIRED_HEADSET - | CallAudioStateCompat.ROUTE_SPEAKER; + private int mSupportedModes = CallAudioState.ROUTE_EARPIECE + | CallAudioState.ROUTE_BLUETOOTH | CallAudioState.ROUTE_WIRED_HEADSET + | CallAudioState.ROUTE_SPEAKER; private final List<AudioModeListener> mListeners = Lists.newArrayList(); public static AudioModeProvider getInstance() { |