mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-03 21:32:19 +00:00
Make sure we have SEND_SMS permission before sending an SMS
Fixes #7246
This commit is contained in:
@@ -118,6 +118,9 @@ public class SmsSendJob extends SendJob {
|
||||
Log.w(TAG, npe);
|
||||
throw new UndeliverableMessageException(npe2);
|
||||
}
|
||||
} catch (SecurityException se) {
|
||||
Log.w(TAG, se);
|
||||
throw new UndeliverableMessageException(se);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user