Skip to content

Commit

Permalink
Dialer: AudioModeProvider: use wired route for usb headsets
Browse files Browse the repository at this point in the history
Change-Id: I920a9c259af5597dfd9a88a72e4ac54cb6e73f7a
  • Loading branch information
codeworkx authored and Martinusbe committed May 18, 2019
1 parent 4de300c commit f51cebb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions java/com/android/incallui/audiomode/AudioModeProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ private static int getApproximatedAudioRoute(Context context) {
hasBluetooth = true;
continue;
case AudioDeviceInfo.TYPE_WIRED_HEADSET:
case AudioDeviceInfo.TYPE_USB_HEADSET:
hasHeadset = true;
continue;
default:
Expand Down

0 comments on commit f51cebb

Please sign in to comment.