forked from organicmaps/organicmaps
[android] Review fixes
This commit is contained in:
parent
a07eca8f50
commit
bb39ea73ae
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue