forked from organicmaps/organicmaps
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:
commit
85fa6c4322
2 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||
|
|
|
@ -116,6 +116,7 @@ class SearchWheel implements View.OnClickListener
|
|||
mIsExpanded = false;
|
||||
mCurrentOption = null;
|
||||
SearchEngine.cancelSearch();
|
||||
resetSearchButtonImage();
|
||||
}
|
||||
|
||||
public void onResume()
|
||||
|
|
Loading…
Add table
Reference in a new issue