Bugfix in sendTextMessage variable replacement
This commit is contained in:
parent
f3c4a0fd91
commit
2e3e829abb
@ -1074,7 +1074,7 @@ public class Actions
|
|||||||
|
|
||||||
PendingIntent pi = PendingIntent.getActivity(context, 0, new Intent(context, Actions.class), 0);
|
PendingIntent pi = PendingIntent.getActivity(context, 0, new Intent(context, Actions.class), 0);
|
||||||
SmsManager sms = SmsManager.getDefault();
|
SmsManager sms = SmsManager.getDefault();
|
||||||
sms.sendTextMessage(phoneNumber, null, message, pi, null);
|
sms.sendTextMessage(phoneNumber, null, textToSend, pi, null);
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user