Merge branch 'audiorecorder-1.0.10'

This commit is contained in:
Alexey Kuznetsov 2016-03-13 13:58:29 +03:00
commit e3bafe82fd
3 changed files with 5 additions and 4 deletions

View file

@ -8,8 +8,8 @@ android {
applicationId "com.github.axet.audiorecorder"
minSdkVersion 16
targetSdkVersion 23
versionCode 10
versionName "1.0.9"
versionCode 11
versionName "1.0.10"
}
signingConfigs {
release {

View file

@ -317,6 +317,7 @@ public class RecordingActivity extends AppCompatActivity {
@Override
protected void onDestroy() {
super.onDestroy();
Log.d(TAG, "onDestory");
stopRecording();

View file

@ -217,7 +217,7 @@ public class SettingsActivity extends AppCompatPreferenceActivity {
bindPreferenceSummaryToValue(findPreference(MainApplication.PREFERENCE_STORAGE));
}
Preference rate = findPreference(MainApplication.PREFERENCE_RATE);
Preference rate = findPreference(MainApplication.PREFERENCE_ENCODING);
if (Build.VERSION.SDK_INT < 21) {
getPreferenceScreen().removePreference(rate);
@ -225,7 +225,7 @@ public class SettingsActivity extends AppCompatPreferenceActivity {
bindPreferenceSummaryToValue(rate);
}
bindPreferenceSummaryToValue(findPreference(MainApplication.PREFERENCE_ENCODING));
bindPreferenceSummaryToValue(findPreference(MainApplication.PREFERENCE_RATE));
}
@Override