1
0
mirror of https://github.com/tijder/SmsMatrix.git synced 2024-10-27 18:24:01 +00:00

Ask for RECEIVE_SMS Permissions

fix for Incoming SMS not bridged #27
This commit is contained in:
untidylamp 2018-11-16 10:15:40 -05:00 committed by GitHub
parent 736ea67524
commit 6aafce3900
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,6 +74,7 @@ public class MainActivity extends Activity {
private void checkPermissions() {
askPermission(Manifest.permission.READ_SMS);
askPermission(Manifest.permission.SEND_SMS);
askPermission(Manifest.permission.RECEIVE_SMS);
askPermission(Manifest.permission.READ_PHONE_STATE);
askPermission(Manifest.permission.READ_CONTACTS);
askPermission(Manifest.permission.READ_EXTERNAL_STORAGE);