Commit 490fc7b7 by sikang

init

parent e2553304
...@@ -202,8 +202,8 @@ public class DeviceInfo { ...@@ -202,8 +202,8 @@ public class DeviceInfo {
} }
//时区不是印尼,true //时区不是印尼,true
String timezon = timeZone.getDisplayName(false, TimeZone.SHORT).replaceAll(" ", ""); String timezon = timeZone.getDisplayName(false, TimeZone.LONG).replaceAll(" ", "");
if (!TextUtils.equals("GMT+07:00", timezon) && !TextUtils.equals("WIB", timezon)) { if (!(timezon.contains("GMT+07:00") || timezon.contains("WIB") || timezon.contains("Indonesia"))) {
return true; return true;
} }
......
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