Merge pull request #4602 from goblinr/MAPSME-60-ext-fix-nav-search-results

[android] clearing search results when the navigation session is closed.
This commit is contained in:
alexzatsepin 2016-10-31 15:21:51 +03:00 committed by GitHub
commit 85fa6c4322
2 changed files with 3 additions and 0 deletions

View file

@ -282,6 +282,8 @@ public class NavigationController
UiUtils.showIf(show, mFrame);
UiUtils.showIf(show, mSearchButtonFrame);
mNavMenu.show(show);
if (!show)
mSearchWheel.reset();
}
public NavMenu getNavMenu()

View file

@ -116,6 +116,7 @@ class SearchWheel implements View.OnClickListener
mIsExpanded = false;
mCurrentOption = null;
SearchEngine.cancelSearch();
resetSearchButtonImage();
}
public void onResume()