fix exception in sms comm
This commit is contained in:
parent
1b69771893
commit
b80c382512
1 changed files with 94 additions and 91 deletions
|
@ -262,6 +262,7 @@ public class SmsCommunicatorPlugin implements PluginBase {
|
|||
Answers.getInstance().logCustom(new CustomEvent("SMS_Bg"));
|
||||
break;
|
||||
case "LOOP":
|
||||
if (splited.length > 1)
|
||||
switch (splited[1].toUpperCase()) {
|
||||
case "DISABLE":
|
||||
case "STOP":
|
||||
|
@ -333,6 +334,7 @@ public class SmsCommunicatorPlugin implements PluginBase {
|
|||
}
|
||||
break;
|
||||
case "TREATMENTS":
|
||||
if (splited.length > 1)
|
||||
switch (splited[1].toUpperCase()) {
|
||||
case "REFRESH":
|
||||
Intent restartNSClient = new Intent(Intents.ACTION_RESTART);
|
||||
|
@ -347,6 +349,7 @@ public class SmsCommunicatorPlugin implements PluginBase {
|
|||
}
|
||||
break;
|
||||
case "NSCLIENT":
|
||||
if (splited.length > 1)
|
||||
switch (splited[1].toUpperCase()) {
|
||||
case "RESTART":
|
||||
Intent restartNSClient = new Intent(Intents.ACTION_RESTART);
|
||||
|
|
Loading…
Reference in a new issue