forked from organicmaps/organicmaps
[android] Fixed crash in search add view
This commit is contained in:
parent
3c0aeeeb9a
commit
bc7dacdb30
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue