Fixed display issues on tablets
This commit is contained in:
parent
15af0c4673
commit
113e26616a
2 changed files with 8 additions and 0 deletions
|
@ -730,6 +730,11 @@ public class ChatMessagesFragment extends Fragment
|
|||
}
|
||||
|
||||
private void initChatRoom() {
|
||||
if (mChatRoom != null) {
|
||||
// Required on tablets
|
||||
mChatRoom.removeListener(this);
|
||||
}
|
||||
|
||||
Core core = LinphoneManager.getLcIfManagerNotDestroyedOrNull();
|
||||
if (mRemoteSipAddress == null
|
||||
|| mRemoteSipUri == null
|
||||
|
@ -817,6 +822,7 @@ public class ChatMessagesFragment extends Fragment
|
|||
if (!mChatRoom.hasCapability(ChatRoomCapabilities.Encrypted.toInt())) {
|
||||
mChatRoomSecurityLevel.setVisibility(View.GONE);
|
||||
} else {
|
||||
mChatRoomSecurityLevel.setVisibility(View.VISIBLE);
|
||||
ChatRoomSecurityLevel level = mChatRoom.getSecurityLevel();
|
||||
switch (level) {
|
||||
case Safe:
|
||||
|
|
|
@ -463,6 +463,8 @@ Disponible gratuitement ici : %s</string>
|
|||
<string name="pref_service_notification">Notification de service</string>
|
||||
<string name="pref_autostart">Démarrer au lancement du téléphone</string>
|
||||
<string name="pref_incoming_call_timeout_title">Ignorer les appels entrants après (en secondes)</string>
|
||||
<string name="pref_device_name">Nom de l\'appareil</string>
|
||||
<string name="pref_display_name_subtitle">Les changements seront appliqués au prochain démarrage</string>
|
||||
<string name="pref_remote_provisioning_title">Configuration distante</string>
|
||||
<string name="pref_android_app_settings_title">Infos appli Android</string>
|
||||
<string name="pref_android_app_notif_settings_title">Paramètres des notifications Android</string>
|
||||
|
|
Loading…
Reference in a new issue