weizhengliang 2 年之前
父節點
當前提交
fdb4caa94e

+ 0 - 6
app/build.gradle

@@ -126,13 +126,7 @@ dependencies {
      */
     if (!componentTag) {
         compile project(':welcome') // ===> 开始模块  建议在模块内添加广告 欢迎页 等页面
-        compile project(':home')   // ===> 主页模块  里面一般是App的首页 分类楼层页面
-        //compile project(':shop')      // ===> 店铺模块 店铺列表 详细 等
-        //compile project(':setting')   // ===> 设置模块 设置 缓存 App分享等
-        compile project(':extra')    // ===> 额外的一些页面 比如二维码扫描等一些附加功能
-        //compile project(':hello')
         compile project(':callingdoor')
-        //compile project(':sip')
     }
     /**
      * JavaShopAndroid 中间件依赖库

+ 0 - 6
app/src/main/code/com/wdkl/app/ncs/application/Application.kt

@@ -52,12 +52,6 @@ class Application : BaseApplication() {
         JRouter.openDebug()
         JRouter.openLog()
         JRouter.prepare().create("/welcome/launch").seek()
-        JRouter.prepare().create("/home/launch").seek()
-        //JRouter.prepare().create("/setting/launch").seek()
-        //JRouter.prepare().create("/shop/launch").seek()
-        JRouter.prepare().create("/extra/launch").seek()
-
-        //JRouter.prepare().create("/hello/launch").seek()
 
         JRouter.prepare().create("/callingdoor/launch").seek()
     }

+ 1 - 1
callingdoor/build.gradle

@@ -117,7 +117,7 @@ dependencies {
     compile 'com.github.anrwatchdog:anrwatchdog:1.3.0'
 
     //使用xCrash捕获异常
-    implementation 'com.iqiyi.xcrash:xcrash-android-lib:3.0.0'
+    //implementation 'com.iqiyi.xcrash:xcrash-android-lib:3.0.0'
 
     //rk3288接口
     compile files('libs/rk3288_api.jar')

+ 3 - 2
callingdoor/src/main/java/com/wdkl/app/ncs/callingdoor/helper/AnrFcExceptionUtil.java

@@ -80,12 +80,13 @@ public class AnrFcExceptionUtil implements Thread.UncaughtExceptionHandler {
             mDefaultHandler.uncaughtException(thread, ex);
         } else {
             try {
-                Thread.sleep(2000);
+                Thread.sleep(5000);
             } catch (InterruptedException e) {
                 Log.e(TAG, "error : ", e);
             }
 
-            restartApp();
+            //restartApp();
+            AppUpdateHelper.reboot(application);
         }
     }
 

callingdoor/src/main/java/com/wdkl/app/ncs/callingdoor/helper/XCrashUtils.java → callingdoor/src/main/java/com/wdkl/app/ncs/callingdoor/helper/XCrashUtils.java.bak


+ 1 - 1
settings.gradle

@@ -1,3 +1,3 @@
-include ':app', ':common', ':welcome', ':home', ':resource', ':middleware', ':extra', ':callingdoor', ':bedlib'
+include ':app', ':common', ':welcome', ':resource', ':middleware', ':callingdoor', ':bedlib'
 
 //'webrtc', 'rtc-chat', 'libwebrtc', ':janus'