From 2b82cd974370d2d5ee9ccc6befa233290ccff85c Mon Sep 17 00:00:00 2001 From: client_Hale <339726288@qq.com> Date: 星期一, 21 十月 2019 11:29:24 +0800 Subject: [PATCH] update 安卓系统 10 --- Project/app/src/game_822055139/java/com/secondworld/univeralsdk/H2EngineSDK.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/Project/app/src/game_822055139/java/com/secondworld/univeralsdk/H2EngineSDK.java b/Project/app/src/game_822055139/java/com/secondworld/univeralsdk/H2EngineSDK.java index 9a191c8..23a216d 100644 --- a/Project/app/src/game_822055139/java/com/secondworld/univeralsdk/H2EngineSDK.java +++ b/Project/app/src/game_822055139/java/com/secondworld/univeralsdk/H2EngineSDK.java @@ -54,6 +54,9 @@ case CodeU2A.AssetCopy: FileUtil.copyAssets(_activity); break; + case CodeU2A.CopyOneAsset: + FileUtil.copy(_activity, _json.getString("fileName")); + break; case CodeU2A.BatteryListenStart: BatteryUtil.getInstance().start(_activity); break; @@ -137,6 +140,9 @@ break; case CodeU2A.JPushRemoveLocalMessage: removeNotification(_activity, _json.getInt("id")); + break; + case CodeU2A.SendRegistEvent: + FreePlatformUtil.getInstace().SendRegisterEvent(); break; } @@ -356,6 +362,10 @@ FreePlatform.getInstance().onCreate(); } + public static void onWindowFocusChanged(boolean b) + { + } + public static void onNewIntent(final Activity activity, final Intent intent) { } -- Gitblit v1.8.0