From 988a99f8f8f8e1e123efd29e108dcd0240ad8a33 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 16 十月 2021 14:58:37 +0800 Subject: [PATCH] umeng集成方式更新,隐私合规修改 --- 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