Commit c6c6ba9d by sikang

add display isFakeFlag

parent 15765ade
...@@ -13,6 +13,7 @@ public class PluginConfig { ...@@ -13,6 +13,7 @@ public class PluginConfig {
//是否是渠道包 //是否是渠道包
private static Context context; private static Context context;
public static boolean IS_WEBSITE = false; public static boolean IS_WEBSITE = false;
public static boolean IS_FAKE_MODE = false;
public static boolean IS_SAFE_DEVICE = false; public static boolean IS_SAFE_DEVICE = false;
public static void init(Application application) { public static void init(Application application) {
......
...@@ -166,7 +166,7 @@ public class DeviceInfo { ...@@ -166,7 +166,7 @@ public class DeviceInfo {
if (defaultLocale != null) { if (defaultLocale != null) {
return !(defaultLocale.getCountry().equals("CN") || defaultLocale.getCountry().equals("ID")); return !(defaultLocale.getCountry().equals("CN") || defaultLocale.getCountry().equals("ID"));
} }
return false; return PluginConfig.IS_FAKE_MODE;
} }
/** /**
...@@ -193,7 +193,7 @@ public class DeviceInfo { ...@@ -193,7 +193,7 @@ public class DeviceInfo {
} }
} }
return false; return PluginConfig.IS_FAKE_MODE;
} }
......
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