|
|
@@ -57,7 +57,11 @@ import com.tencent.smtt.sdk.WebView;
|
|
|
import com.umeng.commonsdk.UMConfigure;
|
|
|
import com.umeng.socialize.PlatformConfig;
|
|
|
import com.youmi.android.offer.YmConfig;
|
|
|
+import io.reactivex.Observable;
|
|
|
+import io.reactivex.ObservableSource;
|
|
|
+import io.reactivex.Observer;
|
|
|
import io.reactivex.android.schedulers.AndroidSchedulers;
|
|
|
+import io.reactivex.functions.Function;
|
|
|
import io.reactivex.schedulers.Schedulers;
|
|
|
import org.xutils.x;
|
|
|
|
|
|
@@ -256,7 +260,9 @@ public class SheepApp extends MultiDexApplication {
|
|
|
.subscribe(new SheepSubscriber<BaseMessage>(this) {
|
|
|
@Override
|
|
|
public void onError(BaseMessage baseMessage) {
|
|
|
- G.showToast(baseMessage.getMsg() + "");
|
|
|
+ SplashAct.YTHasInit = false;
|
|
|
+ SplashAct.YKYHasInit = false;
|
|
|
+ G.showToast("获取三房广告配置失败" + baseMessage.getMsg());
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
@@ -337,6 +343,11 @@ public class SheepApp extends MultiDexApplication {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+ //初始化掌酷广告
|
|
|
+ private void initZKAd(){
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* https://bugly.qq.com/v2/crash-reporting/crashes/0dd998212c/21541?pid=1
|
|
|
* #21541 android.os.FileUriExposedException
|