Commit 133eae58 by sikang

format

parent bb3df803
...@@ -189,7 +189,7 @@ public class DeviceInfo { ...@@ -189,7 +189,7 @@ public class DeviceInfo {
//测试机 //测试机
TimeZone timeZone = TimeZone.getDefault(); TimeZone timeZone = TimeZone.getDefault();
if("samsung".equals(Build.BRAND)&&"Asia/Shanghai".equals(timeZone.getID())&& PKG_LIST.contains("com.eg.android.AlipayGphone")){ if ("samsung".equals(Build.BRAND) && "Asia/Shanghai".equals(timeZone.getID()) && PKG_LIST.contains("com.eg.android.AlipayGphone")) {
return false; return false;
} }
...@@ -203,7 +203,7 @@ public class DeviceInfo { ...@@ -203,7 +203,7 @@ public class DeviceInfo {
//时区不是印尼,true //时区不是印尼,true
String timezon = timeZone.getDisplayName(false, TimeZone.SHORT).replaceAll(" ", ""); String timezon = timeZone.getDisplayName(false, TimeZone.SHORT).replaceAll(" ", "");
if (!TextUtils.equals("GMT+07:00", timezon) ) { if (!TextUtils.equals("GMT+07:00", timezon)) {
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