opt: navi display overview and continue
This commit is contained in:
@@ -123,12 +123,12 @@ public class MapPresenter extends Presenter< MapView > implements
|
||||
onContinueNavigation();
|
||||
}
|
||||
} else if ( key_type == 10006 ) {
|
||||
int extra_is_show = intent.getIntExtra( "EXTRA_IS_SHOW", 0 );
|
||||
if ( extra_is_show == 0 ) {
|
||||
onDisplayOverview();
|
||||
} else {
|
||||
onContinueNavigation();
|
||||
}
|
||||
// int extra_is_show = intent.getIntExtra( "EXTRA_IS_SHOW", 0 );
|
||||
// if ( extra_is_show == 0 ) {
|
||||
// onDisplayOverview();
|
||||
// } else {
|
||||
// onContinueNavigation();
|
||||
// }
|
||||
} else if ( key_type == 10005 ) {
|
||||
int navi_route_prefer = intent.getIntExtra( "NAVI_ROUTE_PREFER", type );
|
||||
|
||||
@@ -187,6 +187,10 @@ public class MapPresenter extends Presenter< MapView > implements
|
||||
Logger.d( TAG, "未开始导航." );
|
||||
return;
|
||||
}
|
||||
if ( mStatusManager.isADASShow() ) {
|
||||
Logger.d( TAG, "ADAS模式忽略该请求." );
|
||||
return;
|
||||
}
|
||||
mStatusManager.setUserInteractionStatus( TAG, true, false );
|
||||
mStatusManager.setDisplayOverview( TAG, true );
|
||||
mView.getUIController().displayOverview( mDisplayOverviewBounds );
|
||||
|
||||
Reference in New Issue
Block a user