|
@@ -250,8 +250,7 @@ class NurseHomeActivity : BaseActivity<NurseHomeActivityPresenter, ActivityNewN
|
|
Log.e("SipCall", "call recording: " + call.isRecording + ", path: " + call.params.recordFile)
|
|
Log.e("SipCall", "call recording: " + call.isRecording + ", path: " + call.params.recordFile)
|
|
}*/
|
|
}*/
|
|
|
|
|
|
- EventBus.getDefault()
|
|
|
|
- .post(MessageEvent("sip_connected", Constant.SIP_CONNECTED))
|
|
|
|
|
|
+ EventBus.getDefault().post(MessageEvent("sip_connected", Constant.SIP_CONNECTED))
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -2670,7 +2669,7 @@ class NurseHomeActivity : BaseActivity<NurseHomeActivityPresenter, ActivityNewN
|
|
SerialPortUtilHost.getInstance().setHandsFree(false)
|
|
SerialPortUtilHost.getInstance().setHandsFree(false)
|
|
SerialPortUtilHost.getInstance().setMIC(false)
|
|
SerialPortUtilHost.getInstance().setMIC(false)
|
|
|
|
|
|
- EventBus.getDefault().post(MessageEvent(false, Constant.EVENT_TOGGLE_SPEAKER))
|
|
|
|
|
|
+ //EventBus.getDefault().post(MessageEvent(false, Constant.EVENT_TOGGLE_SPEAKER))
|
|
if (Constant.hookOn && System.currentTimeMillis() - hookoffTime > 2000) {
|
|
if (Constant.hookOn && System.currentTimeMillis() - hookoffTime > 2000) {
|
|
VoiceManagerUtil.setCallVoice(activity, SettingConfig.getHostGamepadPlayVolume(this.activity))
|
|
VoiceManagerUtil.setCallVoice(activity, SettingConfig.getHostGamepadPlayVolume(this.activity))
|
|
if (Constant.CALL_STATE != Constant.CALL_CALLING && Constant.CALL_STATE != Constant.CALL_OUTGOING) {
|
|
if (Constant.CALL_STATE != Constant.CALL_CALLING && Constant.CALL_STATE != Constant.CALL_OUTGOING) {
|