A new firewall chain is needed to configure background network restrictions for apps. This change only adds the API stubs and traffic controller constants to make the chain work. Policy changes using this chain will follow in the framework code. Test: atest CtsNetTestCases:ConnectivityManagerTest Test: atest ConnectivityServiceTest NO_IFTTT=The Lint rule along with the relevant code in Common.h is being deleted in aosp/2819759 Bug: 304347838 Change-Id: I33e2db6671431f7c576fc931d9f96e684fc1e78a
44 lines
1.1 KiB
Plaintext
44 lines
1.1 KiB
Plaintext
package: "com.android.net.flags"
|
|
|
|
flag {
|
|
name: "track_multiple_network_activities"
|
|
namespace: "android_core_networking"
|
|
description: "NetworkActivityTracker tracks multiple networks including non default networks"
|
|
bug: "267870186"
|
|
}
|
|
|
|
flag {
|
|
name: "forbidden_capability"
|
|
namespace: "android_core_networking"
|
|
description: "This flag controls the forbidden capability API"
|
|
bug: "302997505"
|
|
}
|
|
|
|
flag {
|
|
name: "nsd_expired_services_removal"
|
|
namespace: "android_core_networking"
|
|
description: "Remove expired services from MdnsServiceCache"
|
|
bug: "304649384"
|
|
}
|
|
|
|
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"
|
|
}
|