Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandr Zatsepin <alexzatsepin@users.noreply.github.com>2017-02-03 16:58:58 +0300
committerGitHub <noreply@github.com>2017-02-03 16:58:58 +0300
commit251337583f9bdc0948a3d64957ae3d3f7bcc154f (patch)
tree61e57a13afd61924365343e0c90a1536f82ca2d2
parentda368a7c6bd5da704023bd6b906c1b5b270d8caa (diff)
parente96caeaa246251ff21154f99b25c5dc5057f6564 (diff)
Merge pull request #5352 from goblinr/MAPSME-140-ext-fix-search-panel-visibility-after-routing-release-71beta-609beta-608beta-607
[android][cherry-peak] update search bar status after routing/planing canceled.
-rw-r--r--android/src/com/mapswithme/maps/MwmActivity.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/android/src/com/mapswithme/maps/MwmActivity.java b/android/src/com/mapswithme/maps/MwmActivity.java
index d32d68bae2..c5742e534b 100644
--- a/android/src/com/mapswithme/maps/MwmActivity.java
+++ b/android/src/com/mapswithme/maps/MwmActivity.java
@@ -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()