bug fix: 修改自导航过程中back键后不退出导航的问题
This commit is contained in:
@@ -57,7 +57,10 @@ public class MainIndependentActivity extends MainActivity {
|
||||
if ( CustomNaviInterrupter.getInstance().interrupt() ) {
|
||||
return false;
|
||||
}
|
||||
mServiceApis.getMapServiceApi().getNavi( this ).stopNavi();
|
||||
if (mServiceApis.getMapServiceApi().getNavi(this).isNaviing()) {
|
||||
mServiceApis.getMapServiceApi().getNavi( this ).stopNavi();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user