Bugfix in sendTextMessage variable replacement

This commit is contained in:
jens 2022-01-21 13:56:21 +01:00
parent f3c4a0fd91
commit 2e3e829abb

View File

@ -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)
{ {