Merge "Remove implementation details from tethering hidden api flags"

This commit is contained in:
Paul Duffin
2022-04-06 06:51:07 +00:00
committed by Gerrit Code Review

View File

@@ -141,6 +141,32 @@ bootclasspath_fragment {
"hiddenapi/hiddenapi-unsupported.txt",
"hiddenapi/hiddenapi-unsupported-tiramisu.txt",
],
// The following packages contain classes from other modules on the
// bootclasspath. That means that the hidden API flags for this module
// has to explicitly list every single class this module provides in
// that package to differentiate them from the classes provided by other
// modules. That can include private classes that are not part of the
// API.
split_packages: [
"android.app.usage",
"android.net",
"android.net.netstats",
"android.net.util",
],
// The following packages and all their subpackages currently only
// contain classes from this bootclasspath_fragment. Listing a package
// here won't prevent other bootclasspath modules from adding classes in
// any of those packages but it will prevent them from adding those
// classes into an API surface, e.g. public, system, etc.. Doing so will
// result in a build failure due to inconsistent flags.
package_prefixes: [
"android.net.apf",
"android.net.connectivity",
"android.net.netstats.provider",
"android.net.nsd",
],
},
}