This commit is contained in:
wangcongtao
2020-06-05 12:19:13 +08:00
parent 075ca7d3a9
commit 44ec5cdcfe
15 changed files with 317 additions and 79 deletions

View File

@@ -75,7 +75,7 @@ public class DebugConfig {
}
/**
* 是否拉起位置服务
* 是否拉起位置服务launcher 需要拉起位置服务,独立 app 不需要
*/
private static boolean sLaunchLocationService = true;
@@ -86,4 +86,17 @@ public class DebugConfig {
public static void setLaunchLocationService( boolean launchLocationService ) {
DebugConfig.sLaunchLocationService = launchLocationService;
}
/**
* 是否使用自定义导航
*/
private static boolean sUseCustomNavi = false;
public static boolean isUseCustomNavi() {
return sUseCustomNavi;
}
public static void setUseCustomNavi( boolean sUseCustomNavi ) {
DebugConfig.sUseCustomNavi = sUseCustomNavi;
}
}