commit
f3f5bb0d7e
1 changed files with 3 additions and 0 deletions
|
@ -302,6 +302,9 @@ public class SmsCommunicatorPlugin extends PluginBase {
|
||||||
else
|
else
|
||||||
sendSMS(new Sms(receivedSms.phoneNumber, R.string.wrongformat));
|
sendSMS(new Sms(receivedSms.phoneNumber, R.string.wrongformat));
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
// splitted switch to fix bug in mockito
|
||||||
|
switch (splitted[0].toUpperCase()) {
|
||||||
case "CAL":
|
case "CAL":
|
||||||
if (!remoteCommandsAllowed)
|
if (!remoteCommandsAllowed)
|
||||||
sendSMS(new Sms(receivedSms.phoneNumber, R.string.smscommunicator_remotecommandnotallowed));
|
sendSMS(new Sms(receivedSms.phoneNumber, R.string.smscommunicator_remotecommandnotallowed));
|
||||||
|
|
Loading…
Reference in a new issue