forked from organicmaps/organicmaps
[android] Fixed launching the search on 'Add destination point' action panel click
This commit is contained in:
parent
c88df120ea
commit
1483277835
2 changed files with 2 additions and 6 deletions
|
@ -2514,7 +2514,8 @@ public class MwmActivity extends BaseMwmFragmentActivity
|
|||
public void onSearchRoutePoint(@RoutePointInfo.RouteMarkType int pointType)
|
||||
{
|
||||
RoutingController.get().waitForPoiPick(pointType);
|
||||
mNavigationController.performSearchClick();
|
||||
mNavigationController.resetSearchWheel();
|
||||
showSearch("");
|
||||
Statistics.INSTANCE.trackRoutingTooltipEvent(pointType, true);
|
||||
}
|
||||
|
||||
|
|
|
@ -154,11 +154,6 @@ public class NavigationController implements TrafficManager.TrafficCallback, Vie
|
|||
mSearchWheel.onResume();
|
||||
}
|
||||
|
||||
public boolean performSearchClick()
|
||||
{
|
||||
return mSearchWheel.performClick();
|
||||
}
|
||||
|
||||
private NavMenu createNavMenu()
|
||||
{
|
||||
return new NavMenu(mBottomFrame, this::onMenuItemClicked);
|
||||
|
|
Loading…
Add table
Reference in a new issue