From c3843ff2d0b50be39920e47722121b5655e84b58 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 10 二月 2025 19:04:56 +0800
Subject: [PATCH] 0312 小米调整依赖镜像

---
 SdkProject/plugins/quick/java/com/secondworld/sdk/QuickSdkMgr.java |   47 ++++++++++++++++++++++++-----------------------
 1 files changed, 24 insertions(+), 23 deletions(-)

diff --git a/SdkProject/plugins/quick/java/com/secondworld/sdk/QuickSdkMgr.java b/SdkProject/plugins/quick/java/com/secondworld/sdk/QuickSdkMgr.java
index 9531b08..4236a62 100644
--- a/SdkProject/plugins/quick/java/com/secondworld/sdk/QuickSdkMgr.java
+++ b/SdkProject/plugins/quick/java/com/secondworld/sdk/QuickSdkMgr.java
@@ -87,34 +87,35 @@
         if (requestCode != RequestCode.QUICK) return;
 
 
-        if (hasPermissions(activity)) {
-            LogUtil.i("SdkManager", "onRequestPermissionsResult 鐢宠鎴愬姛");
+        //if (hasPermissions(activity))
+        {
+            LogUtil.i("SdkManager", "onRequestPermissionsResult 涓嶇鏄惁鐢宠鎴愬姛閮藉垵濮嬪寲");
             //鐢宠鎴愬姛
             QuickSdkMgr.I.register(PlatformDiff.I.platformProductCode(), PlatformDiff.I.platformProductKey());
             QuickSdkMgr.I.init(activity);
             return;
         }
-        final AlertDialog.Builder normalDialog = new AlertDialog.Builder(activity);
-        normalDialog.setTitle("鏉冮檺璁剧疆");
-        normalDialog.setMessage("娓告垙闇�瑕侀儴鍒嗘潈闄愭墠鑳芥甯歌繍琛岋紝璇峰墠寰�璁剧疆涓墦寮�瀛樺偍鏉冮檺");
-        normalDialog.setPositiveButton("鍓嶅線璁剧疆", new DialogInterface.OnClickListener() {
-            @Override
-            public void onClick(DialogInterface dialog, int which) {
-                Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
-                Uri uri = Uri.fromParts("package", activity.getPackageName(), null);
-                intent.setData(uri);
-                activity.startActivityForResult(intent, REQUEST_RECORD_PERMISSION_SETTING);
-                dialog.dismiss();
-            }
-        });
-        normalDialog.setNegativeButton("閫�鍑�", new DialogInterface.OnClickListener() {
-            @Override
-            public void onClick(DialogInterface dialog, int which) {
-                GameAppProxy.appExit();
-            }
-        });
-        // 鏄剧ず
-        normalDialog.show();
+//        final AlertDialog.Builder normalDialog = new AlertDialog.Builder(activity);
+//        normalDialog.setTitle("鏉冮檺璁剧疆");
+//        normalDialog.setMessage("娓告垙闇�瑕侀儴鍒嗘潈闄愭墠鑳芥甯歌繍琛岋紝璇峰墠寰�璁剧疆涓墦寮�瀛樺偍鏉冮檺");
+//        normalDialog.setPositiveButton("鍓嶅線璁剧疆", new DialogInterface.OnClickListener() {
+//            @Override
+//            public void onClick(DialogInterface dialog, int which) {
+//                Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
+//                Uri uri = Uri.fromParts("package", activity.getPackageName(), null);
+//                intent.setData(uri);
+//                activity.startActivityForResult(intent, REQUEST_RECORD_PERMISSION_SETTING);
+//                dialog.dismiss();
+//            }
+//        });
+//        normalDialog.setNegativeButton("閫�鍑�", new DialogInterface.OnClickListener() {
+//            @Override
+//            public void onClick(DialogInterface dialog, int which) {
+//                GameAppProxy.appExit();
+//            }
+//        });
+//        // 鏄剧ず
+//        normalDialog.show();
     }
 
     public void onActivityResult(Activity activity, int requestCode) {

--
Gitblit v1.8.0