Commit 712f7425 by sikang

bug fix walle Channel取值

parent 2979fa4b
...@@ -94,7 +94,7 @@ public class LibConfig { ...@@ -94,7 +94,7 @@ public class LibConfig {
public static void initLib(Application application) { public static void initLib(Application application) {
if (application != null) { if (application != null) {
CONTEXT = application; CONTEXT = application;
if (TextUtils.isEmpty(XH_CHANNEL_NAME)) { if (!TextUtils.isEmpty(XH_CHANNEL_NAME)) {
XH_CHANNEL_NAME = WalleChannelReader.getChannel(application.getApplicationContext()); XH_CHANNEL_NAME = WalleChannelReader.getChannel(application.getApplicationContext());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment