Remove useless code.
This commit is contained in:
parent
9ecc101f04
commit
9df7aba8b6
1 changed files with 0 additions and 11 deletions
|
@ -139,7 +139,6 @@ public final class LinphoneManager implements LinphoneCoreListener {
|
||||||
private String lastLcStatusMessage;
|
private String lastLcStatusMessage;
|
||||||
private String basePath;
|
private String basePath;
|
||||||
private static boolean sExited;
|
private static boolean sExited;
|
||||||
private boolean videoInitiator = false;
|
|
||||||
|
|
||||||
private WakeLock mIncallWakeLock;
|
private WakeLock mIncallWakeLock;
|
||||||
|
|
||||||
|
@ -153,14 +152,6 @@ public final class LinphoneManager implements LinphoneCoreListener {
|
||||||
simpleListeners.remove(listener);
|
simpleListeners.remove(listener);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isVideoInitiator() {
|
|
||||||
return videoInitiator;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setVideoInitiator(boolean b) {
|
|
||||||
videoInitiator = b;
|
|
||||||
}
|
|
||||||
|
|
||||||
private LinphoneManager(final Context c, LinphoneServiceListener listener) {
|
private LinphoneManager(final Context c, LinphoneServiceListener listener) {
|
||||||
sExited=false;
|
sExited=false;
|
||||||
mServiceContext = c;
|
mServiceContext = c;
|
||||||
|
@ -1254,7 +1245,6 @@ public final class LinphoneManager implements LinphoneCoreListener {
|
||||||
public boolean addVideo() {
|
public boolean addVideo() {
|
||||||
LinphoneCall call = mLc.getCurrentCall();
|
LinphoneCall call = mLc.getCurrentCall();
|
||||||
enableCamera(call, true);
|
enableCamera(call, true);
|
||||||
setVideoInitiator(true);
|
|
||||||
return reinviteWithVideo();
|
return reinviteWithVideo();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1415,7 +1405,6 @@ public final class LinphoneManager implements LinphoneCoreListener {
|
||||||
|
|
||||||
public void onCallStateChanged(LinphoneCall call, State state, String message) {
|
public void onCallStateChanged(LinphoneCall call, State state, String message) {
|
||||||
if (state == State.OutgoingInit || state == State.IncomingReceived) {
|
if (state == State.OutgoingInit || state == State.IncomingReceived) {
|
||||||
setVideoInitiator(state == State.OutgoingInit);
|
|
||||||
boolean sendCamera = mLc.getConferenceSize() == 0;
|
boolean sendCamera = mLc.getConferenceSize() == 0;
|
||||||
enableCamera(call, sendCamera);
|
enableCamera(call, sendCamera);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue