mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-12-25 13:08:58 +00:00
Fix issue
This commit is contained in:
parent
ed46ea9cea
commit
7381091c08
@ -1,12 +1,9 @@
|
||||
package org.communiquons.android.comunic.client.ui.activities;
|
||||
|
||||
import android.Manifest;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.os.AsyncTask;
|
||||
import android.os.Bundle;
|
||||
import android.support.annotation.Nullable;
|
||||
import android.support.v4.app.ActivityCompat;
|
||||
import android.support.v4.content.ContextCompat;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
@ -273,7 +270,11 @@ public class CallActivity extends BaseActivity implements SignalExchangerCallbac
|
||||
|
||||
CallsConfiguration callsConfiguration = CallsHelper.GetCallsConfiguration();
|
||||
|
||||
assert callsConfiguration != null;
|
||||
if(callsConfiguration == null){
|
||||
Toast.makeText(this, R.string.err_missing_call_config, Toast.LENGTH_SHORT).show();
|
||||
return;
|
||||
}
|
||||
|
||||
mSignalExchangerClient = new SignalExchangerClient(new SignalExchangerInitConfig(
|
||||
callsConfiguration.getSignalServerName(),
|
||||
callsConfiguration.getSignalServerPort(),
|
||||
|
@ -338,4 +338,5 @@
|
||||
<string name="action_save_image_in_gallery">Enregistrer dans la gallerie</string>
|
||||
<string name="err_save_image_in_gallery">Une erreur a survenue lors de l\'enregistrement de l\'image dans la gallerie !</string>
|
||||
<string name="success_save_image_in_gallery">L\'image a bien été enregistrée dans la gallerie !</string>
|
||||
<string name="err_missing_call_config">Configuration des appels vidéos manquante !</string>
|
||||
</resources>
|
@ -337,4 +337,5 @@
|
||||
<string name="action_save_image_in_gallery">Save in gallery</string>
|
||||
<string name="err_save_image_in_gallery">Could not save the image in the gallery!</string>
|
||||
<string name="success_save_image_in_gallery">Successfully saved the image into the gallery!</string>
|
||||
<string name="err_missing_call_config">Missing call configuration!</string>
|
||||
</resources>
|
||||
|
Loading…
Reference in New Issue
Block a user