根据配置隐藏“全览”“正北”“退出导航”三个按钮
This commit is contained in:
@@ -36,10 +36,14 @@ class CustomNaviInterrupter implements Interrupter {
|
||||
sInstance = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 判断是否用自己的导航
|
||||
* @return true-用高德公版车机版地图 false-用Launcher自己的导航
|
||||
*/
|
||||
@Override
|
||||
public boolean interrupt() {
|
||||
if ( AppUtils.isAppInstalled( AbsMogoApplication.getApp(), "com.autonavi.amapauto" )
|
||||
|| DebugConfig.isUseCustomNavi() ) {
|
||||
|| !DebugConfig.isUseCustomNavi() ) {
|
||||
Logger.d( TAG, "do not use custom map function." );
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user