Merge branch 'audiorecorder-3.4.3'

This commit is contained in:
Alexey Kuznetsov 2020-12-18 18:47:08 +03:00
commit 9b223645a8
2 changed files with 3 additions and 15 deletions

View file

@ -9,8 +9,8 @@ android {
applicationId "com.github.axet.audiorecorder"
minSdkVersion 9
targetSdkVersion 29
versionCode 352
versionName "3.4.2"
versionCode 353
versionName "3.4.3"
}
signingConfigs {
release {

View file

@ -73,19 +73,7 @@ public class SettingsActivity extends AppCompatSettingsThemeActivity implements
super.onCreate(savedInstanceState);
storage = new Storage(this);
setupActionBar();
getSupportFragmentManager().beginTransaction().replace(android.R.id.content, new GeneralPreferenceFragment()).commit();
}
/**
* Set up the {@link android.app.ActionBar}, if the API is available.
*/
private void setupActionBar() {
ActionBar actionBar = getSupportActionBar();
if (actionBar != null) {
// Show the Up button in the action bar.
actionBar.setDisplayHomeAsUpEnabled(true);
// actionBar.setBackgroundDrawable(new ColorDrawable(AudioApplication.getActionbarColor(this)));
}
showSettingsFragment(new GeneralPreferenceFragment());
}
@Override