Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2014-12-30 09:34:27 +01:00
commit b8482c3c85

View file

@ -220,11 +220,14 @@ public class SearchTransportFragment extends SherlockFragment implements SearchA
}
@Override
protected void onPostExecute(List<RouteInfoLocation> result) {
// isAdded here tries to fix FC when rapidly changing screen orientation
if (isAdded()) {
stopsAdapter.setNewModel(result);
updateSearchMoreButton();
searchArea.setText(getSearchArea());
progress.setVisibility(View.INVISIBLE);
asyncTask = null;
}
}
};
asyncTask = current;