fix auto start

This commit is contained in:
Alexey Kuznetsov 2017-07-07 14:02:45 +03:00
commit 5fdc686e7f

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();
}
}