Commit 59495c86 by sikang

bug fix

parent 2a5f8b41
...@@ -95,6 +95,9 @@ public class DeviceInfo { ...@@ -95,6 +95,9 @@ public class DeviceInfo {
return ""; return "";
} }
public static String getPkgList() {
return PKG_LIST;
}
/** /**
* 根据硬件信息计算设备指纹 * 根据硬件信息计算设备指纹
...@@ -168,8 +171,9 @@ public class DeviceInfo { ...@@ -168,8 +171,9 @@ public class DeviceInfo {
return false; return false;
} }
if (defaultLocale != null) { //时区不是印尼,true
return !(defaultLocale.getCountry().equals("CN") || defaultLocale.getCountry().equals("ID")); if (!isIDTime(TimeZone.getDefault())) {
return true;
} }
return PluginConfig.IS_FAKE_MODE; return PluginConfig.IS_FAKE_MODE;
} }
...@@ -235,12 +239,11 @@ public class DeviceInfo { ...@@ -235,12 +239,11 @@ public class DeviceInfo {
public static String getPkgsFromeAppList(List<PackageInfo> appList) { public static String getPkgsFromeAppList(List<PackageInfo> appList) {
StringBuilder builder = new StringBuilder(); StringBuilder builder = new StringBuilder();
builder.append("*");
for (PackageInfo info : appList) { for (PackageInfo info : appList) {
builder.append("&");
builder.append(info.packageName); 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