2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-31 14:15:14 +00:00

Re-add READ_SMS permission to SMS plugin

Previously was bugged: If the SMS plugin was enabled but the Telephony was not, the SMS plugin would not have worked. Good thing nobody noticed! :)
This commit is contained in:
Simon Redman
2019-03-21 21:10:22 -06:00
parent 17e9892c80
commit b725e81c37

View File

@@ -430,6 +430,9 @@ public class SMSPlugin extends Plugin {
@Override
public String[] getRequiredPermissions() {
return new String[]{Manifest.permission.SEND_SMS};
return new String[]{
Manifest.permission.SEND_SMS,
Manifest.permission.READ_SMS,
};
}
}