From e55e2c63390a5140ac6eae581703ff80b959f6a4 Mon Sep 17 00:00:00 2001 From: client_Hale <339726288@qq.com> Date: 星期五, 07 九月 2018 19:36:19 +0800 Subject: [PATCH] Fixed 猫耳AppID读取错误 --- Project/app/src/main/java/com/secondworld/univeralsdk/MainActivity.java | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Project/app/src/main/java/com/secondworld/univeralsdk/MainActivity.java b/Project/app/src/main/java/com/secondworld/univeralsdk/MainActivity.java index 786d5ef..4a19082 100644 --- a/Project/app/src/main/java/com/secondworld/univeralsdk/MainActivity.java +++ b/Project/app/src/main/java/com/secondworld/univeralsdk/MainActivity.java @@ -41,11 +41,17 @@ } @Override + public void onWindowFocusChanged(boolean b) + { + super.onWindowFocusChanged(b); + H2EngineSDK.onWindowFocusChanged(b); + } + + @Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); H2EngineSDK.onNewIntent(this, intent); - LogUtil.i(TAG, "onNewIntent"); } @Override @@ -61,7 +67,6 @@ H2EngineSDK.onConfigurationChanged(newConfig); super.onConfigurationChanged(newConfig); - LogUtil.i(TAG, "onConfigurationChanged"); } @Override @@ -70,7 +75,6 @@ H2EngineSDK.onStart(this); super.onStart(); - LogUtil.i(TAG, "onStart"); } @Override @@ -80,7 +84,6 @@ H2EngineSDK.onStop(this); super.onStop(); - LogUtil.i(TAG, "onStop"); } @Override @@ -90,7 +93,6 @@ H2EngineSDK.onResume(this); super.onResume(); - LogUtil.i(TAG, "onResume"); // 妫�娴嬫湰鍦板瓨鍌ㄦ潈闄愭槸鍚︽湁, 娌℃湁鐨勮瘽瑕佹彁绀虹敤鎴� if (PermissionChecker.checkPermission(this, @@ -143,7 +145,6 @@ H2EngineSDK.onPause(this); super.onPause(); - LogUtil.i(TAG, "onPause"); } @Override @@ -152,7 +153,6 @@ H2EngineSDK.onDestroy(this); super.onDestroy(); - LogUtil.i(TAG, "onDestroy"); } @Override @@ -161,7 +161,6 @@ H2EngineSDK.onRestart(this); super.onRestart(); - LogUtil.i(TAG, "onRestart"); } } -- Gitblit v1.8.0