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

Commit 788f37a4 authored by Aaron Huang's avatar Aaron Huang
Browse files

Add required permission to NetworkStack

The permission of NetworkStack is moved to a separate xml file,
add the xml module to the required field of networkstack app.

Bug: 151213404
Test: NetworkStackTests
Merged-In: I2e6f3f476fdac8efa0029c82a338c1d9781a5bdf
Change-Id: I2e6f3f476fdac8efa0029c82a338c1d9781a5bdf
parent 67d47cdf
Loading
Loading
Loading
Loading
+16 −4
Original line number Diff line number Diff line
@@ -290,7 +290,10 @@ android_app {
    // The permission configuration *must* be included to ensure security of the device
    // The InProcessNetworkStack goes together with the PlatformCaptivePortalLogin, which replaces
    // the default CaptivePortalLogin.
    required: ["PlatformNetworkPermissionConfig", "PlatformCaptivePortalLogin"],
    required: [
        "PlatformNetworkPermissionConfig",
        "PlatformCaptivePortalLogin",
    ],
    enabled: enable_current_sdk_targets,
}

@@ -311,7 +314,10 @@ android_app {
    certificate: "networkstack",
    manifest: "AndroidManifest_Next.xml",
    // The permission configuration *must* be included to ensure security of the device
    required: ["NetworkPermissionConfig"],
    required: [
        "NetworkPermissionConfig",
        "privapp_whitelist_com.android.networkstack",
    ],
    enabled: enable_current_sdk_targets,
}

@@ -323,7 +329,10 @@ android_app {
    certificate: "networkstack",
    manifest: "AndroidManifest.xml",
    // The permission configuration *must* be included to ensure security of the device
    required: ["NetworkPermissionConfig"],
    required: [
        "NetworkPermissionConfig",
        "privapp_whitelist_com.android.networkstack",
    ],
    updatable: true,
}

@@ -400,7 +409,10 @@ android_app {
    certificate: "networkstack",
    manifest: ":NetworkStackTestAndroidManifest",
    // The permission configuration *must* be included to ensure security of the device
    required: ["NetworkPermissionConfig"],
    required: [
        "NetworkPermissionConfig",
        "privapp_whitelist_com.android.networkstack",
    ],
}

// When adding or modifying protos, the jarjar rules and possibly proguard rules need