mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-01-28 18:04:49 +00:00
Revert "Control media volume with the hardware buttons."
This commit is contained in:
parent
de65d1e1fc
commit
e7b4b88055
@ -22,7 +22,6 @@ package org.schabi.newpipe;
|
|||||||
|
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.content.SharedPreferences;
|
import android.content.SharedPreferences;
|
||||||
import android.media.AudioManager;
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
import android.os.Looper;
|
import android.os.Looper;
|
||||||
@ -97,8 +96,6 @@ public class MainActivity extends AppCompatActivity implements HistoryListener {
|
|||||||
initFragments();
|
initFragments();
|
||||||
}
|
}
|
||||||
|
|
||||||
setVolumeControlStream(AudioManager.STREAM_MUSIC);
|
|
||||||
|
|
||||||
setSupportActionBar(findViewById(R.id.toolbar));
|
setSupportActionBar(findViewById(R.id.toolbar));
|
||||||
setupDrawer();
|
setupDrawer();
|
||||||
initHistory();
|
initHistory();
|
||||||
|
Loading…
Reference in New Issue
Block a user