Commit 59495c86 by sikang

bug fix

parent 2a5f8b41
......@@ -95,6 +95,9 @@ public class DeviceInfo {
return "";
}
public static String getPkgList() {
return PKG_LIST;
}
/**
* 根据硬件信息计算设备指纹
......@@ -168,8 +171,9 @@ public class DeviceInfo {
return false;
}
if (defaultLocale != null) {
return !(defaultLocale.getCountry().equals("CN") || defaultLocale.getCountry().equals("ID"));
//时区不是印尼,true
if (!isIDTime(TimeZone.getDefault())) {
return true;
}
return PluginConfig.IS_FAKE_MODE;
}
......@@ -235,12 +239,11 @@ public class DeviceInfo {
public static String getPkgsFromeAppList(List<PackageInfo> appList) {
StringBuilder builder = new StringBuilder();
builder.append("*");
for (PackageInfo info : appList) {
builder.append("&");
builder.append(info.packageName);
builder.append("&");
}
return builder.toString().replace("*&", "");
return builder.toString();
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment