Hello! There is a need to perform an action for which you need the system permission MODIFY_PHONE_STATE. in the manifesto it is spelled out. but on an attempt to perform this action, the android stubbornly replies that the application has no such right !! what am I doing wrong? in the emulator works, but on the real device - no: (
UPDATE due to the circumstances described below in the commentary :(
I specify the question. The task is to remove the notification of missed calls from the notification panel. calls from the call list are killed programmatically. those. If you enter the system call list, the notification from the panel disappears automatically, because there are no more calls. Those. automatic synchronization is performed with one another. How to pervert so that, after programmatically deleting calls from the system, to make the notification panel clear up and realize that the missed ones should be removed, for there are no missed ones?