From d45d44947ca2f9153b901f3b0b06be30f421c5ea Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 12 二月 2025 12:51:29 +0800
Subject: [PATCH] 0312 雷电sdk更新
---
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