From 61da167b4f52d0732d23396c8d131faeb596f5af Mon Sep 17 00:00:00 2001 From: devlearner Date: Sat, 3 Dec 2022 13:23:36 +0800 Subject: [PATCH] Oops, added back missing return; --- app/src/main/java/org/schabi/newpipe/RouterActivity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/org/schabi/newpipe/RouterActivity.java b/app/src/main/java/org/schabi/newpipe/RouterActivity.java index 432bbcdaa..dc7c8a77e 100644 --- a/app/src/main/java/org/schabi/newpipe/RouterActivity.java +++ b/app/src/main/java/org/schabi/newpipe/RouterActivity.java @@ -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);