From 2c5b6e472c368e80d85b8ea2b461c9ea62981d9b Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期日, 08 十月 2023 11:28:56 +0800 Subject: [PATCH] 广告升级/bug修复 --- library-EventBus/src/de/greenrobot/event/util/ErrorDialogManager.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/library-EventBus/src/de/greenrobot/event/util/ErrorDialogManager.java b/library-EventBus/src/de/greenrobot/event/util/ErrorDialogManager.java index dd0f4d1..2ec716b 100644 --- a/library-EventBus/src/de/greenrobot/event/util/ErrorDialogManager.java +++ b/library-EventBus/src/de/greenrobot/event/util/ErrorDialogManager.java @@ -10,7 +10,7 @@ import androidx.fragment.app.FragmentActivity; import androidx.fragment.app.FragmentManager; import android.util.Log; -import de.greenrobot.event.EventBus; +import org.greenrobot.eventbus.EventBus; /** * Central class for app that want to use event based error dialogs.<br/> @@ -61,6 +61,7 @@ super.onPause(); } + @Subscribe public void onEventMainThread(ThrowableFailureEvent event) { if (!isInExecutionScope(executionScope, event)) { return; @@ -118,6 +119,7 @@ super.onPause(); } + @Subscribe public void onEventMainThread(ThrowableFailureEvent event) { if (!isInExecutionScope(executionScope, event)) { return; -- Gitblit v1.8.0