mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 03:48:08 +00:00
Fix speaker state on rotation
This commit is contained in:
parent
a5c59cc2d1
commit
b1cd72e3e6
1 changed files with 3 additions and 8 deletions
|
|
@ -249,15 +249,10 @@ public class InCallActivity extends FragmentActivity implements
|
|||
}
|
||||
}
|
||||
|
||||
if (isVideoEnabled && !isSpeakerEnabled)
|
||||
{
|
||||
toggleSpeaker();
|
||||
if (isSpeakerEnabled) {
|
||||
speaker.setBackgroundResource(R.drawable.speaker_on);
|
||||
} else {
|
||||
if (isSpeakerEnabled) {
|
||||
speaker.setBackgroundResource(R.drawable.speaker_on);
|
||||
} else {
|
||||
speaker.setBackgroundResource(R.drawable.speaker_off);
|
||||
}
|
||||
speaker.setBackgroundResource(R.drawable.speaker_off);
|
||||
}
|
||||
|
||||
if (isMicMuted) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue