Commit b725e81c authored by Simon Redman's avatar Simon Redman

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! :)
parent 17e9892c
......@@ -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,
};
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment