mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-30 05:37:43 +00:00
Oops
This commit is contained in:
parent
69249fe408
commit
9fb3aaa9e0
@ -72,6 +72,9 @@ public class TelepathyPlugin extends Plugin {
|
||||
String phoneNo = np.getString("phoneNumber");
|
||||
String sms = np.getString("messageBody");
|
||||
try {
|
||||
int permissionCheck = ContextCompat.checkSelfPermission(context,
|
||||
Manifest.permission.SEND_SMS);
|
||||
|
||||
if(permissionCheck == PackageManager.PERMISSION_GRANTED) {
|
||||
SmsManager smsManager = SmsManager.getDefault();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user