1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-24 00:50:32 +00:00

Update SettingsActivity.java

This commit is contained in:
Teja Vojjala 2016-02-01 15:00:08 +05:30
parent e958334406
commit d3e9f354b3

View File

@ -55,6 +55,7 @@ public class SettingsActivity extends PreferenceActivity {
getDelegate().installViewFactory();
getDelegate().onCreate(savedInstanceBundle);
super.onCreate(savedInstanceBundle);
setVolumeControlStream(AudioManager.STREAM_MUSIC);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
@ -87,7 +88,6 @@ public class SettingsActivity extends PreferenceActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setVolumeControlStream(AudioManager.STREAM_MUSIC);
addPreferencesFromResource(R.xml.settings);
final Activity activity = getActivity();