|
@@ -94,6 +94,8 @@ public class SheepApp extends MultiDexApplication {
|
|
|
private String gameId;//游戏id
|
|
private String gameId;//游戏id
|
|
|
private String gamePackgeName;
|
|
private String gamePackgeName;
|
|
|
private boolean gameFlag;
|
|
private boolean gameFlag;
|
|
|
|
|
+ private String wlan;
|
|
|
|
|
+ private boolean needFace;
|
|
|
|
|
|
|
|
public boolean isGameFlag() {
|
|
public boolean isGameFlag() {
|
|
|
return gameFlag;
|
|
return gameFlag;
|
|
@@ -127,6 +129,22 @@ public class SheepApp extends MultiDexApplication {
|
|
|
this.gameCode = gameCode;
|
|
this.gameCode = gameCode;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ public String getWlan() {
|
|
|
|
|
+ return wlan;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setWlan(String wlan) {
|
|
|
|
|
+ this.wlan = wlan;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public boolean isNeedFace() {
|
|
|
|
|
+ return needFace;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setNeedFace(boolean needFace) {
|
|
|
|
|
+ this.needFace = needFace;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
public boolean isInitMidong() {
|
|
public boolean isInitMidong() {
|
|
|
return isInitMidong;
|
|
return isInitMidong;
|
|
|
}
|
|
}
|
|
@@ -284,21 +302,6 @@ public class SheepApp extends MultiDexApplication {
|
|
|
CacheExtensionConfig extension = new CacheExtensionConfig();
|
|
CacheExtensionConfig extension = new CacheExtensionConfig();
|
|
|
extension.removeExtension("html");
|
|
extension.removeExtension("html");
|
|
|
extension.removeExtension("htm");
|
|
extension.removeExtension("htm");
|
|
|
-// extension.removeExtension("js");
|
|
|
|
|
-// extension.removeExtension("ico");
|
|
|
|
|
-// extension.removeExtension("css");
|
|
|
|
|
-
|
|
|
|
|
-// extension.removeExtension("png");
|
|
|
|
|
-// extension.removeExtension("jpg");
|
|
|
|
|
-// extension.removeExtension("jpeg");
|
|
|
|
|
-// extension.removeExtension("gif");
|
|
|
|
|
-// extension.removeExtension("bmp");
|
|
|
|
|
-// extension.removeExtension("ttf");
|
|
|
|
|
-// extension.removeExtension("woff");
|
|
|
|
|
-// extension.removeExtension("woff2");
|
|
|
|
|
-// extension.removeExtension("otf");
|
|
|
|
|
-// extension.removeExtension("eot");
|
|
|
|
|
-// extension.removeExtension("svg");
|
|
|
|
|
|
|
|
|
|
extension.removeExtension("xml");
|
|
extension.removeExtension("xml");
|
|
|
extension.removeExtension("swf");
|
|
extension.removeExtension("swf");
|
|
@@ -310,13 +313,7 @@ public class SheepApp extends MultiDexApplication {
|
|
|
.setCacheExtensionConfig(extension)
|
|
.setCacheExtensionConfig(extension)
|
|
|
.setDebug(BuildConfig.DEBUG)
|
|
.setDebug(BuildConfig.DEBUG)
|
|
|
.setCacheSize(Long.MAX_VALUE));
|
|
.setCacheSize(Long.MAX_VALUE));
|
|
|
- //GSYVideoPlayer https://github.com/CarGuo/GSYVideoPlayer
|
|
|
|
|
PlayerFactory.setPlayManager(Exo2PlayerManager.class);//EXO模式
|
|
PlayerFactory.setPlayManager(Exo2PlayerManager.class);//EXO模式
|
|
|
-// PlayerFactory.setPlayManager(SystemPlayerManager.class);//系统模式
|
|
|
|
|
-// PlayerFactory.setPlayManager(IjkPlayerManager.class);//ijk模式
|
|
|
|
|
-
|
|
|
|
|
-// CacheFactory.setCacheManager(ExoPlayerCacheManager.class);//exo缓存模式,支持m3u8,只支持exo
|
|
|
|
|
-// CacheFactory.setCacheManager(ProxyCacheManager.class);//代理缓存模式,支持所有模式,不支持m3u8等
|
|
|
|
|
|
|
|
|
|
//初始化换肤框架
|
|
//初始化换肤框架
|
|
|
SkinUtil.init();
|
|
SkinUtil.init();
|
|
@@ -352,7 +349,6 @@ public class SheepApp extends MultiDexApplication {
|
|
|
//LocationMode.Hight_Accuracy:高精度;
|
|
//LocationMode.Hight_Accuracy:高精度;
|
|
|
//LocationMode. Battery_Saving:低功耗;
|
|
//LocationMode. Battery_Saving:低功耗;
|
|
|
//LocationMode. Device_Sensors:仅使用设备;
|
|
//LocationMode. Device_Sensors:仅使用设备;
|
|
|
-
|
|
|
|
|
option.setCoorType("bd09ll");
|
|
option.setCoorType("bd09ll");
|
|
|
//可选,设置返回经纬度坐标类型,默认gcj02
|
|
//可选,设置返回经纬度坐标类型,默认gcj02
|
|
|
//gcj02:国测局坐标;
|
|
//gcj02:国测局坐标;
|