From d3e9f354b3564c584af9769d619f8f0daa72a453 Mon Sep 17 00:00:00 2001 From: Teja Vojjala Date: Mon, 1 Feb 2016 15:00:08 +0530 Subject: [PATCH] Update SettingsActivity.java --- app/src/main/java/org/schabi/newpipe/SettingsActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/schabi/newpipe/SettingsActivity.java b/app/src/main/java/org/schabi/newpipe/SettingsActivity.java index 4761f2252..d0cf18b31 100644 --- a/app/src/main/java/org/schabi/newpipe/SettingsActivity.java +++ b/app/src/main/java/org/schabi/newpipe/SettingsActivity.java @@ -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();