mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-23 00:20:32 +00:00
Oops, added back missing return;
This commit is contained in:
parent
c744f6756b
commit
61da167b4f
@ -751,6 +751,7 @@ public class RouterActivity extends AppCompatActivity {
|
||||
private void playback() {
|
||||
if (activityGone()) {
|
||||
done();
|
||||
return;
|
||||
}
|
||||
if (buffer.size() == 0 || isPaused) {
|
||||
return;
|
||||
@ -774,6 +775,7 @@ public class RouterActivity extends AppCompatActivity {
|
||||
private void runOnVisible(final ResultRunnable runnable) {
|
||||
if (activityGone()) {
|
||||
done();
|
||||
return;
|
||||
}
|
||||
if (isPaused) {
|
||||
buffer.add(runnable);
|
||||
|
Loading…
Reference in New Issue
Block a user