Merge branch 'audiorecorder-1.1.54'

This commit is contained in:
Alexey Kuznetsov 2016-09-25 21:38:55 +03:00
commit 52c73315c3
2 changed files with 3 additions and 3 deletions

View file

@ -8,8 +8,8 @@ android {
applicationId "com.github.axet.audiorecorder"
minSdkVersion 16
targetSdkVersion 23
versionCode 75
versionName "1.1.53"
versionCode 76
versionName "1.1.54"
}
signingConfigs {
release {

View file

@ -814,7 +814,7 @@ public class RecordingActivity extends AppCompatActivity {
AlertDialog.Builder builder = new AlertDialog.Builder(RecordingActivity.this);
builder.setTitle("Error");
String msg = encoder.getException().getMessage();
if (msg.isEmpty()) {
if (msg == null || msg.isEmpty()) {
Throwable t = encoder.getException();
while (t.getCause() != null)
t = t.getCause();