Oops, added back missing return;

This commit is contained in:
devlearner 2022-12-03 13:23:36 +08:00 committed by Stypox
parent c744f6756b
commit 61da167b4f
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23
1 changed files with 2 additions and 0 deletions

View File

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