We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68b2a2f commit efe78feCopy full SHA for efe78fe
android/src/main/java/com/zxcpoiu/incallmanager/InCallManagerModule.java
@@ -1656,7 +1656,7 @@ public void setDefaultAudioDevice(AudioDevice defaultDevice) {
1656
1657
/** Changes selection of the currently active audio device. */
1658
public void selectAudioDevice(AudioDevice device) {
1659
- if (!audioDevices.contains(device)) {
+ if (device != AudioDevice.NONE && !audioDevices.contains(device)) {
1660
Log.e(TAG, "selectAudioDevice() Can not select " + device + " from available " + audioDevices);
1661
return;
1662
}
0 commit comments