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