Subscribe fix
This commit is contained in:
parent
364364f205
commit
66f6ddf052
2 changed files with 3 additions and 2 deletions
|
@ -192,12 +192,14 @@ public class ConfigBuilderPlugin extends PluginBase implements TreatmentsInterfa
|
|||
}
|
||||
}
|
||||
|
||||
// Detect settings prior 1.60
|
||||
private void upgradeSettings() {
|
||||
if (!SP.contains("ConfigBuilder_1_NSProfilePlugin_Enabled"))
|
||||
return;
|
||||
if (Config.logPrefsChange)
|
||||
log.debug("Upgrading stored settings");
|
||||
for (PluginBase p : pluginList) {
|
||||
log.debug("Processing " + p.getName());
|
||||
for (int type = 1; type < 11; type++) {
|
||||
PluginType newType;
|
||||
switch (type) {
|
||||
|
@ -250,7 +252,6 @@ public class ConfigBuilderPlugin extends PluginBase implements TreatmentsInterfa
|
|||
}
|
||||
}
|
||||
}
|
||||
verifySelectionInCategories();
|
||||
}
|
||||
|
||||
public static CommandQueue getCommandQueue() {
|
||||
|
|
|
@ -138,7 +138,7 @@ public class SmsCommunicatorPlugin extends PluginBase {
|
|||
}
|
||||
|
||||
@Subscribe
|
||||
private void processSettings(final EventPreferenceChange ev) {
|
||||
public void processSettings(final EventPreferenceChange ev) {
|
||||
if (ev == null || ev.isChanged(R.string.key_smscommunicator_allowednumbers)) {
|
||||
String settings = SP.getString(R.string.key_smscommunicator_allowednumbers, "");
|
||||
|
||||
|
|
Loading…
Reference in a new issue