Fix speaker locked issue while incall when coming back from video
This commit is contained in:
parent
107c6c8ac2
commit
dbc10f25e4
1 changed files with 1 additions and 3 deletions
|
@ -86,10 +86,8 @@ public abstract class AbstractCalleesActivity extends ListActivity implements Li
|
||||||
View speaker = findViewById(R.id.toggleSpeaker);
|
View speaker = findViewById(R.id.toggleSpeaker);
|
||||||
speaker.setOnClickListener(this);
|
speaker.setOnClickListener(this);
|
||||||
mSpeakerButton = (Checkable) speaker;
|
mSpeakerButton = (Checkable) speaker;
|
||||||
if (LinphoneManager.getInstance().isSpeakerOn())
|
if (LinphoneManager.getInstance().isSpeakerOn()) {
|
||||||
{
|
|
||||||
((ToggleImageButton) speaker).setChecked(true);
|
((ToggleImageButton) speaker).setChecked(true);
|
||||||
speaker.setEnabled(false);
|
|
||||||
}
|
}
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue