Revert "Control media volume with the hardware buttons."

This commit is contained in:
Christian Schabesberger 2018-02-07 19:38:57 +01:00 committed by GitHub
parent de65d1e1fc
commit e7b4b88055
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

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;
@ -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();