[yop] Do not show toast 'remove lite' on Yota

This commit is contained in:
Dmitry Kunin 2013-09-13 20:04:00 +03:00 committed by Alex Zolotarev
parent 125bf157d8
commit 0c94966e9d
2 changed files with 7 additions and 1 deletions

View file

@ -372,7 +372,8 @@ public class DownloadResourcesActivity extends MapsWithMeBaseActivity
}
else
{
if (getPackageIntent("com.mapswithme.maps") != null)
if (getPackageIntent("com.mapswithme.maps") != null
&& !MWMApplication.get().isYota())
{
Toast.makeText(this, R.string.suggest_uninstall_lite, Toast.LENGTH_LONG).show();
}

View file

@ -244,6 +244,11 @@ public class MWMApplication extends android.app.Application implements MapStorag
return m_isPro || m_isYota;
}
public boolean isYota()
{
return m_isYota;
}
public String getProVersionURL()
{
return m_proVersionURL;