Change when to show add video button.
This commit is contained in:
parent
d1be587f12
commit
7db742d55a
1 changed files with 1 additions and 1 deletions
|
@ -561,7 +561,7 @@ public class ConferenceActivity extends ListActivity implements
|
|||
setVisibility(removeFromConfButton, false);
|
||||
|
||||
final int numberOfCalls = linphoneCalls.size();
|
||||
boolean showAddVideo = !isInConference && !showUnhook && numberOfCalls == 1
|
||||
boolean showAddVideo = State.StreamsRunning == state && !isInConference
|
||||
&& Version.isVideoCapable() && LinphoneManager.getInstance().isVideoEnabled();
|
||||
setVisibility(v, R.id.addVideo, showAddVideo);
|
||||
|
||||
|
|
Loading…
Reference in a new issue