summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcodeworkx <daniel.hillenbrand@codeworkx.de>2019-05-11 08:33:47 +0200
committerMichael Bestas <mkbestas@lineageos.org>2020-12-12 01:23:35 +0200
commit9f88668f19c42262e9f3a3bca382d51dac7a5672 (patch)
treeb85f98ad2061d6f17580362565eed0f4bdcb49ef
parentbfe4feab452d934a862b4bf5e19472c6369b3558 (diff)
Dialer: AudioModeProvider: use wired route for usb headsets
Change-Id: I920a9c259af5597dfd9a88a72e4ac54cb6e73f7a
-rw-r--r--java/com/android/incallui/audiomode/AudioModeProvider.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/com/android/incallui/audiomode/AudioModeProvider.java b/java/com/android/incallui/audiomode/AudioModeProvider.java
index 6bdd23968..17c8f9980 100644
--- a/java/com/android/incallui/audiomode/AudioModeProvider.java
+++ b/java/com/android/incallui/audiomode/AudioModeProvider.java
@@ -88,6 +88,7 @@ public class AudioModeProvider {
hasBluetooth = true;
continue;
case AudioDeviceInfo.TYPE_WIRED_HEADSET:
+ case AudioDeviceInfo.TYPE_USB_HEADSET:
hasHeadset = true;
continue;
default: