} catch (IOException e) {
e.printStackTrace();
}
return null;
}
<BUG>private void backToWeather(String city) {

Intent data = new Intent();</BUG>
data.putExtra(Extras.CITY, city);
setResult(RESULT_OK, data);

} catch (IOException e) {
e.printStackTrace();
}
return null;
}
private void backToWeather(String name, boolean isAutoLocate) {
CityEntity city = new CityEntity(name, isAutoLocate);
Intent data = new Intent();
data.putExtra(Extras.CITY, city);
setResult(RESULT_OK, data);
