forked from organicmaps/organicmaps
Merge pull request #5348 from goblinr/MAPSME-140-ext-fix-search-panel-visibility-after-routing
[android] update search bar status after routing/planing canceled.
This commit is contained in:
commit
46f582e314
1 changed files with 9 additions and 0 deletions
|
@ -1586,6 +1586,8 @@ public class MwmActivity extends BaseMwmFragmentActivity
|
|||
|
||||
adjustCompassAndTraffic(UiUtils.getStatusBarHeight(getApplicationContext()));
|
||||
setNavButtonsTopLimit(0);
|
||||
|
||||
updateSearchBar();
|
||||
}
|
||||
|
||||
mPlacePage.refreshViews();
|
||||
|
@ -1725,6 +1727,13 @@ public class MwmActivity extends BaseMwmFragmentActivity
|
|||
{
|
||||
if (mNavigationController != null)
|
||||
mNavigationController.stop(this);
|
||||
updateSearchBar();
|
||||
}
|
||||
|
||||
private void updateSearchBar()
|
||||
{
|
||||
if (!TextUtils.isEmpty(SearchEngine.getQuery()))
|
||||
mSearchController.refreshToolbar();
|
||||
}
|
||||
|
||||
boolean isFirstStart()
|
||||
|
|
Loading…
Add table
Reference in a new issue