Do not import last hosts file import/download time

This commit is contained in:
M66B 2016-02-14 10:09:12 +01:00
parent 60a3babb4e
commit bb3f4bf212
1 changed files with 6 additions and 2 deletions

View File

@ -1141,8 +1141,8 @@ public class ActivitySettings extends AppCompatActivity implements SharedPrefere
if ("enabled".equals(key))
enabled = Boolean.parseBoolean(value);
else {
// Pro features
if (current == application)
if (current == application) {
// Pro features
if ("log".equals(key)) {
if (!IAB.isPurchased(ActivityPro.SKU_LOG, context))
return;
@ -1154,6 +1154,10 @@ public class ActivitySettings extends AppCompatActivity implements SharedPrefere
return;
}
if ("hosts_last_import".equals(key) || "hosts_last_download".equals(key))
return;
}
if ("boolean".equals(type))
current.put(key, Boolean.parseBoolean(value));
else if ("integer".equals(type))