Possible crash fix.

This commit is contained in:
Dmitry Kunin 2014-02-27 16:04:54 +03:00 committed by Alex Zolotarev
parent 7f24e08cce
commit fa6328b88f

View file

@ -351,7 +351,7 @@ public class MapInfoView extends LinearLayout
{
final LinearLayout mGeoLayout = (LinearLayout) mBodyContainer.findViewById(R.id.info_box_geo_ref);
if (mGeoLayout != null)
if (mGeoLayout != null && mMapObject != null)
{
if (l != null)
{