Skip to content

Fix call blocking on API 26-27

Xynngh requested to merge xynngh/NoPhoneSpam:fix_rejecting into master

Recent changes broke call blocking on API 26-27, because telecomManager.endCall() requires system permission MODIFY_PHONE_STATE prior to API 28.

I also cleaned up the call blocking code a bit. Code clean up is a separate commit so you may drop it if you want.

Merge request reports