From d03a491192ff3afda3b3d2429fad4ea1a6a28ae1 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期一, 21 一月 2019 14:40:27 +0800
Subject: [PATCH] update 极速返回键退出游戏逻辑修改
---
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