[android] Review fixes

This commit is contained in:
Roman Romanov 2017-03-09 08:08:54 +04:00 committed by Sergey Yershov
parent a07eca8f50
commit bb39ea73ae

View file

@ -940,6 +940,7 @@ public class PlacePageView extends RelativeLayout
detachCountry();
if (mMapObject != null)
{
clearHotelViews();
if (mSponsored != null)
{
mSponsored.updateId(mMapObject);
@ -947,7 +948,6 @@ public class PlacePageView extends RelativeLayout
Locale locale = Locale.getDefault();
Currency currency = Currency.getInstance(locale);
clearHotelViews();
if (mSponsored.getType() == Sponsored.TYPE_BOOKING && mSponsored.getId() != null)
Sponsored.requestPrice(mSponsored.getId(), currency.getCurrencyCode(), policy);
Sponsored.requestInfo(mSponsored, locale.toString(), policy);