Fixed crash + align gradle version to the same we use to build the SDK
This commit is contained in:
parent
37fed6852d
commit
9e7d0df378
3 changed files with 5 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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:
|
||||
|
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue