Fixes build issue based on usage of Android O specific API
BUG=NONE NOTRY=TRUE Review-Url: https://codereview.webrtc.org/2967043002 Cr-Commit-Position: refs/heads/master@{#18893}
This commit is contained in:
@ -451,9 +451,6 @@ public class AppRTCAudioManager {
|
||||
} else if (type == AudioDeviceInfo.TYPE_USB_DEVICE) {
|
||||
Log.d(TAG, "hasWiredHeadset: found USB audio device");
|
||||
return true;
|
||||
} else if (type == AudioDeviceInfo.TYPE_USB_HEADSET) {
|
||||
Log.d(TAG, "hasWiredHeadset: found USB headset");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user