Merge branch 'audiorecorder-3.0.49'

This commit is contained in:
Alexey Kuznetsov 2017-11-05 17:00:26 +03:00
commit 8894b33b9c
2 changed files with 3 additions and 3 deletions

View file

@ -10,8 +10,8 @@ android {
applicationId "com.github.axet.audiorecorder"
minSdkVersion 9
targetSdkVersion 24 // 25+ file:// unable to open
versionCode 214
versionName "3.0.48"
versionCode 215
versionName "3.0.49"
}
signingConfigs {
release {

View file

@ -149,7 +149,7 @@ public class MainActivity extends AppCompatActivity {
MenuItem item = menu.findItem(R.id.action_show_folder);
Intent intent = Storage.openFolderIntent(this, storage.getStoragePath(), null);
item.setIntent(intent);
if (Storage.isFolderCallable(this, intent, RecordingContentProvider.getAuthority())) {
if (!Storage.isFolderCallable(this, intent, RecordingContentProvider.getAuthority())) {
item.setVisible(false);
}