fix null object reference
This commit is contained in:
parent
87ad140eb5
commit
d9225ccc8a
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ public class SmsCommunicatorPlugin implements PluginBase {
|
|||
|
||||
@Subscribe
|
||||
public void processSettings(final EventPreferenceChange ev) {
|
||||
if (ev.isChanged(R.string.key_smscommunicator_allowednumbers)) {
|
||||
if (ev == null || ev.isChanged(R.string.key_smscommunicator_allowednumbers)) {
|
||||
String settings = SP.getString(R.string.key_smscommunicator_allowednumbers, "");
|
||||
|
||||
String pattern = ";";
|
||||
|
|
Loading…
Reference in a new issue