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

Commit 95ddfff7 authored by markchien's avatar markchien Committed by Mark Chien
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
Merged-in: Ib6660a5eaa72f83042596481452be4d415383f02
parent aed6ea52
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -268,6 +268,8 @@ applications that come with the platform
        <permission name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
        <permission name="android.permission.MOVE_PACKAGE"/>
        <permission name="android.permission.PACKAGE_USAGE_STATS" />
        <!-- Needed for test only -->
        <permission name="android.permission.PACKET_KEEPALIVE_OFFLOAD" />
        <permission name="android.permission.READ_FRAME_BUFFER"/>
        <permission name="android.permission.READ_LOWPAN_CREDENTIAL"/>
        <!-- Needed for test only -->
+2 −0
Original line number Diff line number Diff line
@@ -161,6 +161,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"