mac
2023-09-23 116def783f85af5896fc4500bc8a690d8b1eb5f3
HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/common/event/EventDispatcher.java
@@ -135,10 +135,10 @@
    /**
     * 事件分发器,分发所有在接口列表中的事件
     * @param topicTag
     * @param o
     * @param topicTag -
     * @param o -
     */
    public synchronized void post(String topicTag, @NonNull Object o) {
    public synchronized void post(String topicTag, final Object o) {
        try {
            for (String key : EVENT.keySet()) {
                if (!isMatch(key, topicTag)) {
@@ -168,14 +168,14 @@
            }
            //开发分发事件
            for (EventListener listener : ALL_TOPICS_EVENT) {
                ThreadToolUtils.getInstance().runOnUiThread(new Runnable() {
                    @Override
                    public void run() {
//                ThreadToolUtils.getInstance().runOnUiThread(new Runnable() {
//                    @Override
//                    public void run() {
                        if (listener != null) {
                            listener.onMessage(o);
                        }
                    }
                });
//                    }
//                });
            }
        }catch (Exception e){
            LogUtils.e(e.getMessage());