mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
Add comment
This commit is contained in:
@@ -430,6 +430,7 @@ class CallActivity : SimpleActivity() {
|
|||||||
} else {
|
} else {
|
||||||
getString(if (isSpeakerOn) R.string.turn_speaker_off else R.string.turn_speaker_on)
|
getString(if (isSpeakerOn) R.string.turn_speaker_off else R.string.turn_speaker_on)
|
||||||
}
|
}
|
||||||
|
// show speaker icon when a headset is connected, a headset icon maybe confusing to some
|
||||||
if (route == AudioRoute.WIRED_HEADSET) {
|
if (route == AudioRoute.WIRED_HEADSET) {
|
||||||
setImageResource(R.drawable.ic_volume_down_vector)
|
setImageResource(R.drawable.ic_volume_down_vector)
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user