wjc
2023-08-21 0a18a8180bc6040c941b07df1be1f7b726b4c155
HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/common/event/EventDispatcher.java
@@ -138,7 +138,7 @@
     * @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());