Update dependencies.
This commit is contained in:
parent
fc67293df4
commit
d1be587f12
3 changed files with 3 additions and 8 deletions
|
@ -86,7 +86,6 @@ public class DialerActivity extends Activity implements LinphoneGuiListener, Lin
|
|||
|
||||
private PowerManager.WakeLock mWakeLock;
|
||||
private SharedPreferences mPref;
|
||||
private LinphoneCall mCurrentCall;
|
||||
private boolean useIncallActivity;
|
||||
private boolean useVideoActivity;
|
||||
private boolean useConferenceActivity;
|
||||
|
@ -442,7 +441,7 @@ public class DialerActivity extends Activity implements LinphoneGuiListener, Lin
|
|||
|
||||
|
||||
public void onCallStateChanged(LinphoneCall call, State state, String message) {
|
||||
Log.i("OnCallStateChanged: call=", call, ", state=", state, ", message=", message, ", currentCall=", mCurrentCall);
|
||||
Log.i("OnCallStateChanged: call=", call, ", state=", state, ", message=", message);
|
||||
LinphoneCore lc = LinphoneManager.getLcIfManagerNotDestroyedOrNull();
|
||||
if (lc==null) {
|
||||
/* we are certainly exiting, ignore then.*/
|
||||
|
@ -450,12 +449,10 @@ public class DialerActivity extends Activity implements LinphoneGuiListener, Lin
|
|||
}
|
||||
|
||||
if (state==LinphoneCall.State.OutgoingInit){
|
||||
mCurrentCall=call;
|
||||
call.enableCamera(LinphoneManager.getInstance().shareMyCamera());
|
||||
enterIncallMode(lc);
|
||||
LinphoneActivity.instance().startOrientationSensor();
|
||||
}else if (state==LinphoneCall.State.IncomingReceived){
|
||||
mCurrentCall=call;
|
||||
callPending(call);
|
||||
call.enableCamera(LinphoneManager.getInstance().shareMyCamera());
|
||||
LinphoneActivity.instance().startOrientationSensor();
|
||||
|
@ -469,13 +466,11 @@ public class DialerActivity extends Activity implements LinphoneGuiListener, Lin
|
|||
if (mWakeLock.isHeld()) mWakeLock.release();
|
||||
exitCallMode();
|
||||
LinphoneActivity.instance().stopOrientationSensor();
|
||||
mCurrentCall=null;
|
||||
}
|
||||
}else if (state==LinphoneCall.State.CallEnd){
|
||||
if (lc.getCallsNb() == 0){
|
||||
exitCallMode();
|
||||
LinphoneActivity.instance().stopOrientationSensor();
|
||||
mCurrentCall=null;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
2
submodules/externals/osip
vendored
2
submodules/externals/osip
vendored
|
@ -1 +1 @@
|
|||
Subproject commit c27b9b6702f62cdbd2143c1ccc85b8980b83adac
|
||||
Subproject commit 9e8c64cff496d2794fe352a6a3907e0e36988931
|
|
@ -1 +1 @@
|
|||
Subproject commit a0f8cbb73c1c028182972147d1ce3f0fdae2921f
|
||||
Subproject commit e740628ab7cb69acae8751572506dfc840028607
|
Loading…
Reference in a new issue