mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 03:48:08 +00:00
Update check version message
This commit is contained in:
parent
c03a332343
commit
a6dcc769b5
4 changed files with 4 additions and 3 deletions
|
|
@ -48,6 +48,7 @@
|
|||
<string name="yes">Oui</string>
|
||||
<string name="link_account">Associer votre compte</string>
|
||||
<string name="you">Vous</string>
|
||||
<string name="update_available">Mobile Security Intense - Mise à jour\nUne nouvelle version MSI %s est disponible.\nPour continuer de fonctionner la mise à jour est nécessaire.</string>
|
||||
<!--Launch screen-->
|
||||
<string name="app_description">le client SIP <i>libre</i></string>
|
||||
<!--Assistant-->
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@
|
|||
<string name="ok">OK</string>
|
||||
<string name="yes">Yes</string>
|
||||
<string name="link_account">Link your account</string>
|
||||
<string name="update_available">An update is available</string>
|
||||
<string name="update_available">An update is available, version %s</string>
|
||||
<string name="you">You</string>
|
||||
|
||||
<!-- Launch screen -->
|
||||
|
|
|
|||
|
|
@ -1649,7 +1649,7 @@ public class LinphoneManager implements CoreListener, SensorEventListener, Accou
|
|||
@Override
|
||||
public void run() {
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(getContext());
|
||||
builder.setMessage(getString(R.string.update_available) + ": " + versionAv);
|
||||
builder.setMessage(getString(R.string.update_available).replace("%s", versionAv));
|
||||
builder.setCancelable(false);
|
||||
builder.setNeutralButton(getString(R.string.ok), new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -846,7 +846,7 @@ public final class LinphoneUtils {
|
|||
public static boolean isUs(ProxyConfig proxy, String username) {
|
||||
if (proxy == null || username == null || username.isEmpty()) return false;
|
||||
Address proxyConfigContact = proxy.getContact();
|
||||
return proxyConfigContact.getUsername().equalsIgnoreCase(username);
|
||||
return (proxyConfigContact != null) && proxyConfigContact.getUsername().equalsIgnoreCase(username);
|
||||
}
|
||||
|
||||
public static ZrtpPeerStatus getZrtpStatus(Core lc, String uri) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue