From 74bce4753313d663e525fa8b2cdfe4f1706e00c8 Mon Sep 17 00:00:00 2001
From: lwb <q3213421wrwqr>
Date: 星期二, 23 三月 2021 15:53:46 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/U3DRepository

---
 SdkProject/library/src/main/java/com/secondworld/sdk/command/CmdInstallAPK.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/SdkProject/library/src/main/java/com/secondworld/sdk/command/CmdInstallAPK.java b/SdkProject/library/src/main/java/com/secondworld/sdk/command/CmdInstallAPK.java
index 05cf764..74cfe73 100644
--- a/SdkProject/library/src/main/java/com/secondworld/sdk/command/CmdInstallAPK.java
+++ b/SdkProject/library/src/main/java/com/secondworld/sdk/command/CmdInstallAPK.java
@@ -4,7 +4,7 @@
 import android.net.Uri;
 import android.widget.Toast;
 
-import com.secondworld.sdk.GameApp;
+import com.secondworld.sdk.GameAppProxy;
 import com.secondworld.sdk.utils.CodeU2A;
 import com.secondworld.sdk.utils.LogUtil;
 
@@ -25,14 +25,14 @@
             File file = new File(path);
             if (!file.exists()) {
                 LogUtil.w("InstallApp", "鏂囦欢涓嶅瓨鍦�");
-                Toast.makeText(GameApp.I, "鎵句笉瀹夎鏂囦欢", Toast.LENGTH_SHORT).show();
+                Toast.makeText(GameAppProxy.app, "鎵句笉瀹夎鏂囦欢", Toast.LENGTH_SHORT).show();
                 return;
             }
             Intent _intent = new Intent(Intent.ACTION_VIEW);
             _intent.setDataAndType(Uri.fromFile(file),
                     "application/vnd.android.package-archive");
             _intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
-            GameApp.I.startActivity(_intent);
+            GameAppProxy.app.startActivity(_intent);
         } catch (Exception e) {
             LogUtil.e("CmdInstallAPK", e);
         }

--
Gitblit v1.8.0