Merge pull request #1077 from TeamNewPipe/revert-1076-patch-1

Revert "Control media volume with the hardware buttons."
This commit is contained in:
Christian Schabesberger 2018-02-07 21:39:19 +01:00 committed by GitHub
commit e18e69966f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
@ -97,8 +96,6 @@ public class MainActivity extends AppCompatActivity implements HistoryListener {
initFragments();
}
setVolumeControlStream(AudioManager.STREAM_MUSIC);
setSupportActionBar(findViewById(R.id.toolbar));
setupDrawer();
initHistory();