version:3.3.3
fix: update:优化网络连接
This commit is contained in:
@@ -17,7 +17,7 @@ import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
public class TimeControlManager {
|
||||
private static final String TAG = TimeControlManager.class.getSimpleName();
|
||||
private static final String TAG = "TimeControlManager";
|
||||
|
||||
@SuppressLint("StaticFieldLeak")
|
||||
private static TimeControlManager mTimeControlManager;
|
||||
@@ -125,6 +125,7 @@ public class TimeControlManager {
|
||||
AppTimeControl temp = mAppTimeControlMap.get(pkg);
|
||||
if (temp == null) {
|
||||
String jsonString = mCacheHelper.getAsString(UrlAddress.GET_APP_TIME_CONTROL);
|
||||
Log.e(TAG, "getAppTimeControl: jsonString = " + jsonString);
|
||||
//为 "" 是已经请求成功的
|
||||
if (jsonString == null) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user