diff --git a/app/build.gradle b/app/build.gradle index 42c3c25..af4cfc7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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 { diff --git a/app/src/main/java/com/github/axet/audiorecorder/activities/RecordingActivity.java b/app/src/main/java/com/github/axet/audiorecorder/activities/RecordingActivity.java index 427534b..e723f50 100644 --- a/app/src/main/java/com/github/axet/audiorecorder/activities/RecordingActivity.java +++ b/app/src/main/java/com/github/axet/audiorecorder/activities/RecordingActivity.java @@ -317,6 +317,7 @@ public class RecordingActivity extends AppCompatActivity { @Override protected void onDestroy() { super.onDestroy(); + Log.d(TAG, "onDestory"); stopRecording(); diff --git a/app/src/main/java/com/github/axet/audiorecorder/activities/SettingsActivity.java b/app/src/main/java/com/github/axet/audiorecorder/activities/SettingsActivity.java index 4629078..b468dcd 100644 --- a/app/src/main/java/com/github/axet/audiorecorder/activities/SettingsActivity.java +++ b/app/src/main/java/com/github/axet/audiorecorder/activities/SettingsActivity.java @@ -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