Removed unappropriate code
This commit is contained in:
parent
f332bef5ed
commit
51c2af49b2
1 changed files with 1 additions and 7 deletions
|
@ -423,12 +423,6 @@ public class StatusFragment extends Fragment {
|
|||
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