Android. permission. MODIFY_PHONE_STATE permission

Source: Internet
Author: User

 

Android. permission. MODIFY_PHONE_STATE permission restriction has been changed to system permission

 

Normal applications can no longer be called

 

Therefore, all articles found on the internet that use android. permission. MODIFY_PHONE_STATE have expired.

 

However, there are still some reference methods.

 

Is to let your program Program System Program

 

One is premade to ROM.

 

Another method is to use the system signature.

 

First, I have passed the test, and the second is 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.

Log on to the building on your own to view the blog of tianyao Road

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.