forked from jens/Automation
Merge remote-tracking branch 'origin/development-stable' into development
This commit is contained in:
commit
7e9d03104c
@ -1181,7 +1181,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