old api small fixes
This commit is contained in:
parent
542ee62019
commit
50880cae3c
2 changed files with 3 additions and 2 deletions
|
|
@ -317,6 +317,7 @@ public class RecordingActivity extends AppCompatActivity {
|
|||
@Override
|
||||
protected void onDestroy() {
|
||||
super.onDestroy();
|
||||
Log.d(TAG, "onDestory");
|
||||
|
||||
stopRecording();
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue