Removed unappropriate code
This commit is contained in:
parent
f332bef5ed
commit
51c2af49b2
1 changed files with 1 additions and 7 deletions
|
@ -422,13 +422,7 @@ public class StatusFragment extends Fragment {
|
|||
zrtpToListen = token.substring(0, 2);
|
||||
zrtpToRead = token.substring(2);
|
||||
}
|
||||
|
||||
// Obiane specific dev : display sas notif only if screen locked
|
||||
KeyguardManager myKM = (KeyguardManager) getActivity().getSystemService(Context.KEYGUARD_SERVICE);
|
||||
if (myKM.inKeyguardRestrictedInputMode()) {
|
||||
//Screen is locked
|
||||
LinphoneService.instance().displaySasNotification(call.getAuthenticationToken());
|
||||
}
|
||||
|
||||
TextView customText = ZRTPdialog.findViewById(R.id.customText);
|
||||
String newText = getString(R.string.zrtp_dialog1).replace("%s", zrtpToRead)
|
||||
+ getString(R.string.zrtp_dialog2).replace("%s", zrtpToListen);
|
||||
|
|
Loading…
Reference in a new issue