version:3.9
fix:修复系统设置管控失败 update:
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user