From 65d1ded608340b86d9e7b571eb508fa9d435970e Mon Sep 17 00:00:00 2001 From: Xiaofei Date: Mon, 29 Aug 2016 20:06:09 +0800 Subject: [PATCH] Version 0.1.6 --- .idea/misc.xml | 2 +- hermes-eventbus/build.gradle | 4 ++-- .../java/xiaofei/library/hermeseventbus/HermesEventBus.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 8f8b72d..671fecf 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -44,7 +44,7 @@ - + diff --git a/hermes-eventbus/build.gradle b/hermes-eventbus/build.gradle index bf17c3c..b4320bc 100644 --- a/hermes-eventbus/build.gradle +++ b/hermes-eventbus/build.gradle @@ -13,7 +13,7 @@ ext { siteUrl = 'https://github.com/Xiaofei-it/HermesEventBus-OriginalRepo' gitUrl = 'https://github.com/Xiaofei-it/HermesEventBus-OriginalRepo.git' - libraryVersion = '0.1.5' + libraryVersion = '0.1.6' developerId = 'Xiaofei-it' developerName = 'Eric Zhao' @@ -32,7 +32,7 @@ android { minSdkVersion 8 targetSdkVersion 23 versionCode 2 - versionName "0.1.5" + versionName "0.1.6" } buildTypes { release { diff --git a/hermes-eventbus/src/main/java/xiaofei/library/hermeseventbus/HermesEventBus.java b/hermes-eventbus/src/main/java/xiaofei/library/hermeseventbus/HermesEventBus.java index 4f4c924..545ee3b 100644 --- a/hermes-eventbus/src/main/java/xiaofei/library/hermeseventbus/HermesEventBus.java +++ b/hermes-eventbus/src/main/java/xiaofei/library/hermeseventbus/HermesEventBus.java @@ -111,9 +111,9 @@ public void init(Context context) { public void connectApp(Context context, String packageName) { mContext = context; mMainProcess = false; - Hermes.register(SubService.class); Hermes.setHermesListener(new HermesListener()); Hermes.connectApp(context, packageName); + Hermes.register(SubService.class); } public void destroy() {