forked from organicmaps/organicmaps
[android] add: Save search query on "Show on map" pressed.
This commit is contained in:
parent
f94c1f3641
commit
76db322c3f
1 changed files with 1 additions and 0 deletions
|
@ -363,6 +363,7 @@ public class SearchFragment extends BaseMwmFragment
|
|||
protected void showAllResultsOnMap()
|
||||
{
|
||||
final String query = getQuery();
|
||||
SearchRecents.add(query);
|
||||
mLastQueryTimestamp = System.nanoTime();
|
||||
SearchEngine.runInteractiveSearch(query, Language.getKeyboardLocale(), mLastQueryTimestamp, true);
|
||||
SearchEngine.showAllResults(query);
|
||||
|
|
Loading…
Add table
Reference in a new issue