forked from organicmaps/organicmaps
[yop] Do not show toast 'remove lite' on Yota
This commit is contained in:
parent
125bf157d8
commit
0c94966e9d
2 changed files with 7 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue