Update OsmandPlugin.java
This commit is contained in:
parent
74bd9a002d
commit
eb7931621f
1 changed files with 2 additions and 2 deletions
|
@ -251,7 +251,7 @@ public abstract class OsmandPlugin {
|
|||
boolean paid = plugin.isPaid();
|
||||
if ((Version.isDeveloperVersion(app) || !Version.isProductionVersion(app)) && !paid) {
|
||||
// for test reasons
|
||||
marketEnabled = false;
|
||||
// marketEnabled = false;
|
||||
}
|
||||
if (pckg || (!marketEnabled && !paid)) {
|
||||
if (pckg && !app.getSettings().getPlugins().contains("-" + plugin.getId())) {
|
||||
|
@ -681,4 +681,4 @@ public abstract class OsmandPlugin {
|
|||
pluginPreferences.add(preference);
|
||||
return preference;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue