From e7b4b8805586c9f6497dac9a2952c03f43f944cb Mon Sep 17 00:00:00 2001 From: Christian Schabesberger Date: Wed, 7 Feb 2018 19:38:57 +0100 Subject: [PATCH] Revert "Control media volume with the hardware buttons." --- app/src/main/java/org/schabi/newpipe/MainActivity.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/MainActivity.java b/app/src/main/java/org/schabi/newpipe/MainActivity.java index c698f7fa9..9e8f3fa76 100644 --- a/app/src/main/java/org/schabi/newpipe/MainActivity.java +++ b/app/src/main/java/org/schabi/newpipe/MainActivity.java @@ -22,7 +22,6 @@ package org.schabi.newpipe; import android.content.Intent; import android.content.SharedPreferences; -import android.media.AudioManager; import android.os.Bundle; import android.os.Handler; import android.os.Looper; @@ -96,8 +95,6 @@ public class MainActivity extends AppCompatActivity implements HistoryListener { if (getSupportFragmentManager() != null && getSupportFragmentManager().getBackStackEntryCount() == 0) { initFragments(); } - - setVolumeControlStream(AudioManager.STREAM_MUSIC); setSupportActionBar(findViewById(R.id.toolbar)); setupDrawer();