opt
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user