Skip to content

Commit 61da167

Browse files
devlearnerStypox
authored andcommitted
Oops, added back missing return;
1 parent c744f67 commit 61da167

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/src/main/java/org/schabi/newpipe/RouterActivity.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,6 +751,7 @@ private AppCompatActivity getActivityContext() {
751751
private void playback() {
752752
if (activityGone()) {
753753
done();
754+
return;
754755
}
755756
if (buffer.size() == 0 || isPaused) {
756757
return;
@@ -774,6 +775,7 @@ private boolean activityGone() {
774775
private void runOnVisible(final ResultRunnable runnable) {
775776
if (activityGone()) {
776777
done();
778+
return;
777779
}
778780
if (isPaused) {
779781
buffer.add(runnable);

0 commit comments

Comments
 (0)