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

Commit 5e430e5a authored by markchien's avatar markchien
Browse files

[KA09] add keepalive offload permission to shell

This change adds PACKET_KEEPALIVE_OFFLOAD to shell, which allows
shell or code with shell permission identity to use privileged
tcp keepalive offload API.

Bug: 114151147
Test: -atest ConnectivityManagerTest#testCreateTcpKeepalive
      -build, flash, boot

Change-Id: Ib6660a5eaa72f83042596481452be4d415383f02
parent 07659d68
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -277,6 +277,8 @@ applications that come with the platform
        <permission name="android.permission.MOVE_PACKAGE"/>
        <permission name="android.permission.OBSERVE_APP_USAGE"/>
        <permission name="android.permission.PACKAGE_USAGE_STATS" />
        <!-- Needed for test only -->
        <permission name="android.permission.PACKET_KEEPALIVE_OFFLOAD" />
        <permission name="android.permission.POWER_SAVER" />
        <permission name="android.permission.READ_FRAME_BUFFER"/>
        <permission name="android.permission.READ_LOWPAN_CREDENTIAL"/>
+2 −0
Original line number Diff line number Diff line
@@ -177,6 +177,8 @@

    <!-- Permission needed to run network tests in CTS -->
    <uses-permission android:name="android.permission.MANAGE_TEST_NETWORKS" />
    <!-- Permission needed to test tcp keepalive offload. -->
    <uses-permission android:name="android.permission.PACKET_KEEPALIVE_OFFLOAD" />

    <application android:label="@string/app_label"
                 android:defaultToDeviceProtectedStorage="true"