Merge branch 'audiorecorder-1.1.65'
This commit is contained in:
commit
4546bfe05e
2 changed files with 6 additions and 4 deletions
|
|
@ -8,8 +8,8 @@ android {
|
|||
applicationId "com.github.axet.audiorecorder"
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 23
|
||||
versionCode 86
|
||||
versionName "1.1.64"
|
||||
versionCode 87
|
||||
versionName "1.1.65"
|
||||
}
|
||||
signingConfigs {
|
||||
release {
|
||||
|
|
|
|||
|
|
@ -768,8 +768,10 @@ public class RecordingActivity extends AppCompatActivity {
|
|||
|
||||
File parent = targetFile.getParentFile();
|
||||
|
||||
if(!parent.mkdirs()) { // in case if it were manually deleted
|
||||
throw new RuntimeException("Unable to create: " + parent);
|
||||
if(!parent.exists()) {
|
||||
if (!parent.mkdirs()) { // in case if it were manually deleted
|
||||
throw new RuntimeException("Unable to create: " + parent);
|
||||
}
|
||||
}
|
||||
|
||||
EncoderInfo info = getInfo();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue