Merge branch 'audiorecorder-3.0.3'

This commit is contained in:
Alexey Kuznetsov 2017-06-27 20:57:48 +03:00
commit e53e655c06
2 changed files with 6 additions and 4 deletions

View file

@ -8,8 +8,8 @@ android {
applicationId "com.github.axet.audiorecorder"
minSdkVersion 9
targetSdkVersion 23
versionCode 167
versionName "3.0.2"
versionCode 168
versionName "3.0.3"
}
signingConfigs {
release {

View file

@ -244,8 +244,10 @@ public class SettingsActivity extends AppCompatActivity implements SharedPrefere
bindPreferenceSummaryToValue(pm.findPreference(MainApplication.PREFERENCE_CHANNELS));
bindPreferenceSummaryToValue(pm.findPreference(MainApplication.PREFERENCE_FORMAT));
StoragePathPreferenceCompat s = (StoragePathPreferenceCompat) pm.findPreference(MainApplication.PREFERENCE_STORAGE);
// s.setPermissionsDialog(this, PERMISSIONS, 1);
s.setStorageAccessFramework(this, 2);
if (Build.VERSION.SDK_INT >= 21)
s.setStorageAccessFramework(this, 2);
else
s.setPermissionsDialog(this, PERMISSIONS, 1);
}
@Override