Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cccdd721 authored by Robert Greenwalt's avatar Robert Greenwalt
Browse files

Make WRITE_APN_SETTINGS a system-only permission.

Protects us from apps getting packet snooping ability
(ie, routing all your traffic through their server by
modifing your APN settings).  We may eventually revert this
if/when we have time to provide a proper API and scary UI
like VPN has.

bug:5242750
Change-Id: I71d73807ca5268c6aacc2156839b4d11427048c4
parent ec8917dc
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -920,7 +920,7 @@
    <!-- Allows applications to write the apn settings -->
    <!-- Allows applications to write the apn settings -->
    <permission android:name="android.permission.WRITE_APN_SETTINGS"
    <permission android:name="android.permission.WRITE_APN_SETTINGS"
                android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
                android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
                android:protectionLevel="dangerous"
                android:protectionLevel="signatureOrSystem"
                android:description="@string/permdesc_writeApnSettings"
                android:description="@string/permdesc_writeApnSettings"
                android:label="@string/permlab_writeApnSettings" />
                android:label="@string/permlab_writeApnSettings" />