version:3.9

fix:修复系统设置管控失败
update:
This commit is contained in:
2022-04-12 10:00:31 +08:00
parent 0cb21ceadc
commit 297f33bf2d
10 changed files with 89 additions and 88 deletions

View File

@@ -175,12 +175,8 @@ public class NetInterfaceManager {
private NetInterfaceManager(Context context) {
this.mContext = context;
this.cacheHelper = new CacheHelper(mContext);
if (okHttpClient == null) {
try {
mDiskLruCacheHelper = new DiskLruCacheHelper(mContext);
} catch (IOException e) {
e.printStackTrace();
}
/**
* 有网时候的缓存
*/
@@ -518,6 +514,7 @@ public class NetInterfaceManager {
* API
*
* */
public UploadAppInfoApi getUploadAppInfoApi() {
return mRetrofit.create(UploadAppInfoApi.class);
}
@@ -1792,7 +1789,7 @@ public class NetInterfaceManager {
Set<String> set = new HashSet<>();
JGYUtils.getInstance().getAppPlatform(new JGYUtils.GetAppPlatformCallback() {
@Override
public void getAppPlatform(int platform) {
public void AppPlatform(int platform) {
if (platform == JGYUtils.MTKPlatform) {
set.add(JGYUtils.MTKTag);
} else if (platform == JGYUtils.ZhanruiPlatform) {