Skip to content
Snippets Groups Projects
Commit 8c951c32 authored by Motomu Utsumi's avatar Motomu Utsumi Committed by Gerrit Code Review
Browse files

Merge "Add aconfig flags for Connectivity FlaggedAPI annotations" into main

parents e48d1068 3a586fc0
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,10 @@ package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
// This is a placeholder comment to avoid merge conflicts
// as the above target may not exist
// depending on the branch
// The library requires the final artifact to contain net-utils-device-common-struct.
java_library {
name: "connectivity-net-module-utils-bpf",
......@@ -43,5 +47,7 @@ java_library {
apex_available: [
"com.android.tethering",
],
lint: { strict_updatability_linting: true },
lint: {
strict_updatability_linting: true,
},
}
//
// Copyright (C) 2024 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
aconfig_declarations {
name: "com.android.net.flags-aconfig",
package: "com.android.net.flags",
srcs: ["flags.aconfig"],
visibility: ["//packages/modules/Connectivity:__subpackages__"],
}
package: "com.android.net.flags"
# This file contains aconfig flags for FlaggedAPI annotations
# Flags used from platform code must be in under frameworks
flag {
name: "forbidden_capability"
namespace: "android_core_networking"
description: "This flag controls the forbidden capability API"
bug: "302997505"
}
flag {
name: "set_data_saver_via_cm"
namespace: "android_core_networking"
description: "Set data saver through ConnectivityManager API"
bug: "297836825"
}
flag {
name: "support_is_uid_networking_blocked"
namespace: "android_core_networking"
description: "This flag controls whether isUidNetworkingBlocked is supported"
bug: "297836825"
}
flag {
name: "basic_background_restrictions_enabled"
namespace: "android_core_networking"
description: "Block network access for apps in a low importance background state"
bug: "304347838"
}
flag {
name: "register_nsd_offload_engine"
namespace: "android_core_networking"
description: "The flag controls the access for registerOffloadEngine API in NsdManager"
bug: "294777050"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment