The following is a flow I developed and posted to the community:
The purpose of the flow is to hang up any incoming call for which the phone number is not in my contacts.
It used to work quite well prior until I upgraded my Nexus 6P to Oreo 8.1. Now, it fails with the following:
2018-05-29 16:46:15.231 FAIL 192@5: java.lang.SecurityException: MODIFY_PHONE_STATE permission required.
The failure above is with the 'End call' block in the flow.
My phone is rooted, and I have the following permissions on the flow:
make phone calls and send SMS messages
access SMS message, call log and phone state
access contacts and calendars
I tried removing and then reinstalling the above, but the error still persists.
I do see that the End call block stipulates it isn't officially supported, so I'm presuming that has something to do with the failure I'm getting.
Is this something you can work around on your end, or is there something I can do within the flow?