android: fallbacck to speaker in ConnectionService handler
It has been our default for a while.
This commit is contained in:
parent
fb3a832a52
commit
8fd3bb2302
|
@ -53,7 +53,7 @@ class AudioDeviceHandlerConnectionService implements
|
|||
*/
|
||||
private static int audioDeviceToRouteInt(String audioDevice) {
|
||||
if (audioDevice == null) {
|
||||
return CallAudioState.ROUTE_EARPIECE;
|
||||
return CallAudioState.ROUTE_SPEAKER;
|
||||
}
|
||||
switch (audioDevice) {
|
||||
case AudioModeModule.DEVICE_BLUETOOTH:
|
||||
|
@ -66,7 +66,7 @@ class AudioDeviceHandlerConnectionService implements
|
|||
return CallAudioState.ROUTE_SPEAKER;
|
||||
default:
|
||||
JitsiMeetLogger.e(TAG + " Unsupported device name: " + audioDevice);
|
||||
return CallAudioState.ROUTE_EARPIECE;
|
||||
return CallAudioState.ROUTE_SPEAKER;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue