Fix #2246: Remove NPE in Nearby (#2247)

This commit is contained in:
Divyanshu Shukla 2019-03-17 20:50:17 +05:30 committed by Adam Jones
parent d24bf20c80
commit 16df68a073

View file

@ -310,7 +310,7 @@ public class NearbyFragment extends CommonsDaggerSupportFragment
});
} else if (locationChangeType
.equals(LOCATION_SLIGHTLY_CHANGED)) {
.equals(LOCATION_SLIGHTLY_CHANGED) && nearbyMapFragment != null) {
String gsonCurLatLng = gson.toJson(curLatLng);
bundle.putString("CurLatLng", gsonCurLatLng);
updateMapFragment(false,true, null, null);