Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
0a77c76029
2 changed files with 4 additions and 2 deletions
|
@ -61,7 +61,8 @@ public class NavigatePointFragment extends SherlockFragment implements SearchAct
|
|||
public View onCreateView(android.view.LayoutInflater inflater, android.view.ViewGroup container, Bundle savedInstanceState) {
|
||||
view = inflater.inflate(R.layout.navigate_point, container, false);
|
||||
setHasOptionsMenu(true);
|
||||
|
||||
|
||||
location = null;
|
||||
OsmandApplication app = (OsmandApplication) getActivity().getApplication();
|
||||
Intent intent = getSherlockActivity().getIntent();
|
||||
if(intent != null){
|
||||
|
@ -165,6 +166,7 @@ public class NavigatePointFragment extends SherlockFragment implements SearchAct
|
|||
@Override
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
location = null;
|
||||
OsmandApplication app = (OsmandApplication) getActivity().getApplication();
|
||||
//Intent intent = getSherlockActivity().getIntent();
|
||||
//if (intent != null) {
|
||||
|
|
|
@ -40,7 +40,6 @@ public class SearchHistoryFragment extends SherlockListFragment implements Sear
|
|||
public static final String SEARCH_LON = SearchActivity.SEARCH_LON;
|
||||
private HistoryAdapter historyAdapter;
|
||||
|
||||
|
||||
@Override
|
||||
public void onViewCreated(View view, Bundle savedInstanceState) {
|
||||
super.onViewCreated(view, savedInstanceState);
|
||||
|
@ -74,6 +73,7 @@ public class SearchHistoryFragment extends SherlockListFragment implements Sear
|
|||
@Override
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
location = null;
|
||||
FragmentActivity activity = getActivity();
|
||||
Intent intent = activity.getIntent();
|
||||
if (intent != null) {
|
||||
|
|
Loading…
Reference in a new issue