Merge branch 'audiorecorder-3.0.21'

This commit is contained in:
Alexey Kuznetsov 2017-07-07 14:06:05 +03:00
commit 5f45bfb3ed
2 changed files with 3 additions and 3 deletions

View file

@ -8,8 +8,8 @@ android {
applicationId "com.github.axet.audiorecorder"
minSdkVersion 9
targetSdkVersion 23
versionCode 185
versionName "3.0.20"
versionCode 186
versionName "3.0.21"
}
signingConfigs {
release {

View file

@ -348,7 +348,7 @@ public class RecordingActivity extends AppCompatActivity {
// start once
if (start) {
start = false;
if (Storage.permitted(this, PERMISSIONS)) {
if (Build.VERSION.SDK_INT >= 21 || Storage.permitted(this, PERMISSIONS)) {
startRecording();
}
}