Skip to content
Snippets Groups Projects
Commit c8037f67 authored by Alexandre Lision's avatar Alexandre Lision
Browse files

ui: zrtp not supported display red lock

Refs #40232
parent dbe396d8
No related branches found
No related tags found
No related merge requests found
......@@ -283,14 +283,14 @@ public class CallFragment extends CallableWrapperFragment implements CallInterfa
public void zrtpNegotiationFailed(Conference c, String securedCallID) {
mCallbacks.updateDisplayedConference(c);
SecureSipCall display = (SecureSipCall) getConference().getCallById(securedCallID);
display.setZrtpNotSupported(true);
enableZRTP(display);
}
@Override
public void zrtpNotSupported(Conference c, String securedCallID) {
mCallbacks.updateDisplayedConference(c);
SecureSipCall display = (SecureSipCall) getConference().getCallById(securedCallID);
display.setZrtpNotSupported(true);
enableZRTP(display);
}
@Override
......
......@@ -159,6 +159,7 @@ public class SecureSipCall extends SipCall {
}
public void setZrtpNotSupported(boolean zrtpNotSupported) {
needSASConfirmation = false;
this.zrtpNotSupported = zrtpNotSupported;
}
......
......@@ -289,10 +289,7 @@ public class CallManagerCallBack extends Callback {
Intent intent = new Intent(ZRTP_OFF);
intent.putExtra("callID", callID);
intent.putExtra("conference", mService.findConference(callID));
mService.sendBroadcast(intent);
}
mService.sendBroadcast(intent); }
@Override
public void on_show_sas(String callID, String sas, boolean verified) {
......@@ -314,6 +311,7 @@ public class CallManagerCallBack extends Callback {
Log.i(TAG, "on_zrtp_not_supported");
Intent intent = new Intent(ZRTP_NOT_SUPPORTED);
SecureSipCall call = (SecureSipCall) mService.getCallById(callID);
call.setInitialized();
call.setZrtpNotSupported(true);
intent.putExtra("callID", callID);
intent.putExtra("conference", mService.findConference(callID));
......@@ -325,6 +323,7 @@ public class CallManagerCallBack extends Callback {
Log.i(TAG, "on_zrtp_negociation_failed");
Intent intent = new Intent(ZRTP_NEGOTIATION_FAILED);
SecureSipCall call = (SecureSipCall) mService.getCallById(callID);
call.setInitialized();
call.setZrtpNotSupported(true);
intent.putExtra("callID", callID);
intent.putExtra("conference", mService.findConference(callID));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment