[android] Fixed launching the search on 'Add destination point' action panel click

This commit is contained in:
Александр Зацепин 2020-06-15 16:30:40 +03:00 committed by Vladimir Byko-Ianko
parent c88df120ea
commit 1483277835
2 changed files with 2 additions and 6 deletions

View file

@ -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);
}

View file

@ -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);