Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
319d3465b4
2 changed files with 4 additions and 0 deletions
|
@ -166,6 +166,8 @@ public class NavigatePointFragment extends SherlockFragment implements SearchAct
|
|||
@Override
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
|
||||
//Hardy: onResume() code is needed so that search origin is properly reflected in tab contents when origin has been changed on one tab, then tab is changed to another one.
|
||||
location = null;
|
||||
OsmandApplication app = (OsmandApplication) getActivity().getApplication();
|
||||
//Intent intent = getSherlockActivity().getIntent();
|
||||
|
|
|
@ -73,6 +73,8 @@ public class SearchHistoryFragment extends SherlockListFragment implements Sear
|
|||
@Override
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
|
||||
//Hardy: onResume() code is needed so that search origin is properly reflected in tab contents when origin has been changed on one tab, then tab is changed to another one.
|
||||
location = null;
|
||||
FragmentActivity activity = getActivity();
|
||||
Intent intent = activity.getIntent();
|
||||
|
|
Loading…
Reference in a new issue