Skip to content

Commit

Permalink
audio: less text for audio change
Browse files Browse the repository at this point in the history
It is not very useful for the user what
the previous audio device was.
  • Loading branch information
mwarning committed Jun 5, 2023
1 parent 466aab0 commit dfa9d17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/kotlin/d/d/meshenger/CallActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -752,9 +752,9 @@ class CallActivity : BaseActivity(), RTCCall.CallContext {
val nameOld = getAudioDeviceName(oldDevice)
val nameNew = getAudioDeviceName(newDevice)
if (rtcAudioManager.getSpeakerphoneMode() == RTCAudioManager.SpeakerphoneMode.AUTO) {
showTextMessage("$nameOld => $nameNew (auto)")
showTextMessage("$nameNew (auto)")
} else {
showTextMessage("$nameOld => $nameNew (fixed)")
showTextMessage("$nameNew (fixed)")
}
updateSpeakerphoneIcon()
}
Expand Down

0 comments on commit dfa9d17

Please sign in to comment.