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

Commit 917e916b authored by Chia-chi Yeh's avatar Chia-chi Yeh Committed by Android (Google) Code Review
Browse files

Merge "Add a new permission for user space VPN applications."

parents d6577a72 9f67adfc
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -358,6 +358,14 @@
        android:description="@string/permdesc_nfc"
        android:label="@string/permlab_nfc" />

    <!-- Allows applications to provide VPN functionality.
         @hide Pending API council approval -->
    <permission android:name="android.permission.VPN"
        android:permissionGroup="android.permission-group.NETWORK"
        android:protectionLevel="dangerous"
        android:description="@string/permdesc_vpn"
        android:label="@string/permlab_vpn" />

    <!-- Allows an application to use SIP service -->
    <permission android:name="android.permission.USE_SIP"
        android:permissionGroup="android.permission-group.NETWORK"
+8 −0
Original line number Diff line number Diff line
@@ -1312,6 +1312,14 @@
    <string name="permdesc_nfc">Allows an application to communicate
      with Near Field Communication (NFC) tags, cards, and readers.</string>

    <!-- Title of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
    <string name="permlab_vpn">intercept and modify all network traffic</string>
    <!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
    <string name="permdesc_vpn">Allows an application to intercept and
      inspect all network traffic, for example to establish a VPN connection.
      Malicious applications may monitor, redirect, or modify network packets
      without your knowledge.</string>

    <!-- Title of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
    <string name="permlab_disableKeyguard">disable keylock</string>
    <!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->