1
0

2 Revīzijas 185cb72b3d ... 8492171285

Autors SHA1 Ziņojums Datums
  Administrator 8492171285 Merge branch 'master' of http://zhi-edu.com:3000/lan/zedu_client 3 gadi atpakaļ
  Administrator d3e124ffcf shuhao 3 gadi atpakaļ

+ 3 - 0
build/jsb-link/frameworks/runtime-src/proj.android-studio/app/src/com/zedu/cocos/congming/app/ZeduApp.java

@@ -34,5 +34,8 @@ public class ZeduApp extends BaseApp {
         super.onAfterCreateApplication();
         // 网络请求
         OkgoCreater.init(this);
+        // 守护进程
+        System.out.println("准备启动 守护进程 ");
+        DaemonCreater.init(this);
     }
 }

+ 0 - 4
build/jsb-link/frameworks/runtime-src/proj.android-studio/app/src/org/cocos2dx/javascript/AppActivity.java

@@ -124,10 +124,6 @@ public class AppActivity extends Cocos2dxActivity {
             return;
         }
 
-        // 守护进程
-        System.out.println("准备启动 守护进程 ");
-        DaemonCreater.init((ZeduApp)getApplication());
-
         // DO OTHER INITIALIZATION BELOW
         SDKWrapper.getInstance().init(this);
         //启动验证激活的线程 5 秒执行一次