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:
henrika
2017-07-04 07:02:35 -07:00
committed by Commit Bot
parent c43f68e52c
commit cb576c50ee

View File

@ -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;