|  |  |  | 
|---|
|  |  |  | ActivityCompat.requestPermissions(activity, new String[]{ | 
|---|
|  |  |  | Manifest.permission.WRITE_EXTERNAL_STORAGE}, RequestCode.QUICK); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | QuickSdkMgr.I.register(PlatformDiff.I.platformProductCode(), PlatformDiff.I.platformProductKey()); | 
|---|
|  |  |  | QuickSdkMgr.I.init(activity); | 
|---|
|  |  |  | //QuickSdkMgr.I.register(PlatformDiff.I.platformProductCode(), PlatformDiff.I.platformProductKey()); | 
|---|
|  |  |  | //QuickSdkMgr.I.init(activity); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | catch (Exception e) { | 
|---|
|  |  |  | LogUtil.i("SdkManager", "requestPermissions 初始化SDK失败"); | 
|---|
|  |  |  | 
|---|
|  |  |  | { | 
|---|
|  |  |  | LogUtil.i("SdkManager", "onRequestPermissionsResult 申请成功"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | QuickSdkMgr.I.register(PlatformDiff.I.platformProductCode(), PlatformDiff.I.platformProductKey()); | 
|---|
|  |  |  | QuickSdkMgr.I.init(activity); | 
|---|
|  |  |  | //        if (hasPermissions(activity)) { | 
|---|
|  |  |  | //            //申请成功 | 
|---|
|  |  |  | //            QuickSdkMgr.I.register(PlatformDiff.I.platformProductCode(), PlatformDiff.I.platformProductKey()); | 
|---|