Read Apns in Android 4.2

Read APNs in Android 4.2?

This appears to be an intentional change. The git commit where they added this defense includes the following comment:

Since the DB may contain corp passwords, we should secure it. Using the same permission as writing to the DB as the read is potentially as damaging as a write.

It is conceivable that your issue will cause them to consider adding a separate read permission, but at least for the time being, this is a regression in 4.2.

Android 4.1 How to read APN Details

Send your MMS via the Intent.

For security reasons, you cannot read APN details without WRITE_APN_SETTINGS, and that permission requires your app to be signed by the same signing key that signed the firmware or for your app to be installed on the system partition (e.g., by a rooted device user).



Related Topics



Leave a reply



Submit