protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (resultCode != RESULT_OK || data == null) {
return;
}
<BUG>String city = data.getStringExtra(Extras.CITY);
String currentCity = mACache.getAsString(Extras.CITY);
if (!currentCity.equals(city)) {</BUG>
mACache.put(Extras.CITY, city);
}

protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (resultCode != RESULT_OK || data == null) {
return;
}
CityEntity city = (CityEntity) data.getSerializableExtra(Extras.CITY);
CityEntity currentCity = (CityEntity) mACache.getAsObject(Extras.CITY);
if (!currentCity.equals(city)) {
mACache.put(Extras.CITY, city);
}
