Fixed crash + align gradle version to the same we use to build the SDK

This commit is contained in:
Sylvain Berfini 2018-11-21 12:15:21 +01:00
parent 37fed6852d
commit 9e7d0df378
3 changed files with 5 additions and 3 deletions

View file

@ -1174,7 +1174,7 @@ public class CallActivity extends LinphoneGenericActivity implements OnClickList
if (status != null && lc != null) {
Call currentCall = lc.getCurrentCall();
if (!currentCall.getAuthenticationTokenVerified()) {
if (currentCall != null && !currentCall.getAuthenticationTokenVerified()) {
status.showZRTPDialog(currentCall);
}
}

View file

@ -30,7 +30,6 @@ import android.graphics.Matrix;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.media.ExifInterface;
import android.media.ThumbnailUtils;
import android.net.Uri;
import android.os.AsyncTask;
import android.provider.MediaStore;
@ -420,6 +419,9 @@ public class ChatEventsAdapter extends SelectableAdapter<ChatBubbleViewHolder> {
case ParticipantMaxDeviceCountExceeded:
holder.eventMessage.setText(mContext.getString(R.string.participant_max_count_exceeded).replace("%s", displayName));
break;
case None:
default:
break;
}
break;
case None:

View file

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists