Fix somethings

This commit is contained in:
Erwan Croze 2018-08-01 11:28:40 +02:00
parent 51b42b14bc
commit 530ede085b
3 changed files with 5 additions and 1 deletions

View file

@ -137,7 +137,7 @@ Vos amis pourront vous joindre plus facilement si vous associez votre compte à
<string name="inapp_notification_trial_expire">La période d\'essai se terminera le %s</string>
<string name="inapp_notification_account_expire">L\'abonnement se terminera le %s</string>
<!--Dailer-->
<string name="address_bar_hint">Entrez un numéro ou une adresse</string>
<string name="address_bar_hint">Entrez une adresse</string>
<!--History-->
<string name="no_call_history">Aucun appel dans votre historique</string>
<string name="no_missed_call_history">Aucun appel manqué dans votre historique</string>

View file

@ -90,6 +90,8 @@ public class CallIncomingActivity extends LinphoneGenericActivity implements Lin
number = (TextView) findViewById(R.id.contact_number);
contactPicture = (ImageView) findViewById(R.id.contact_picture);
number.setVisibility(View.GONE);
// set this flag so this activity will stay in front of the keyguard
int flags = WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON;
getWindow().addFlags(flags);

View file

@ -86,6 +86,8 @@ public class CallOutgoingActivity extends LinphoneGenericActivity implements OnC
number = (TextView) findViewById(R.id.contact_number);
contactPicture = (ImageView) findViewById(R.id.contact_picture);
number.setVisibility(View.GONE);
isMicMuted = false;
isSpeakerEnabled = false;