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:
authorАлександр Зацепин <az@mapswithme.com>2017-10-25 19:04:20 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2017-11-09 13:20:22 +0300
commitbc7dacdb303fd9a4df913769748c229c1060e162 (patch)
tree71990bd6af81f9c0f98941299ff8dcbf7512600c /android/src/com/mapswithme/maps/search/SearchFragment.java
parent3c0aeeeb9a1de62f2e12493847e854792b909996 (diff)
[android] Fixed crash in search add view
Diffstat (limited to 'android/src/com/mapswithme/maps/search/SearchFragment.java')
-rw-r--r--android/src/com/mapswithme/maps/search/SearchFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/src/com/mapswithme/maps/search/SearchFragment.java b/android/src/com/mapswithme/maps/search/SearchFragment.java
index 7ff548ecc7..d394a1ecca 100644
--- a/android/src/com/mapswithme/maps/search/SearchFragment.java
+++ b/android/src/com/mapswithme/maps/search/SearchFragment.java
@@ -147,7 +147,7 @@ public class SearchFragment extends BaseMwmFragment
if (mAdsLoader != null && !isInteractiveSearch() && query.length() >= MIN_QUERY_LENGTH_FOR_AD)
{
mAdsRequested = true;
- mAdsLoader.scheduleAdsLoading(getActivity().getApplicationContext(), query);
+ mAdsLoader.scheduleAdsLoading(getActivity(), query);
}
runSearch();