Android.permission.MODIFY_ PHONE_ Solution to state permission problem
Android.permission.MODIFY_ PHONE_ State permission limit has been changed to system permission
Ordinary applications can no longer be called
So how to use android.permission.modify for those found on the Internet_ PHONE_ All state articles have expired
But there are still ways to quote
Is to make your program system program
One is prefabricated into ROM
The other is to use system signature
The first one has passed the experiment, and the second one remains to be verified.
Also,just to save everyone some searching. I've been researching this and here's what happened:
David marked the permission MODIFY_ PHONE_ STATE as signatureOrSystem. That means only apps installed to the /system folder or signed with the certificate used to build the phone (i.e. your phone's manufacturer) will be able to use the permission.
As a developer,if you are using the permission there is NO WORK AROUND... unless you can convince every manufacturer to include your app as a preinstalled bloatware.
Thank you for reading, hope to help you, thank you for your support to this site!