diff options
author | 2022-04-01 15:40:58 +0000 | |
---|---|---|
committer | 2022-04-01 15:40:58 +0000 | |
commit | 0e0fa96883804f25821f380931aa723ac85ec416 (patch) | |
tree | 75327663bbf91b04478570923244eafd1a26027f | |
parent | 58d2be1496296664285374d014ed6b372b45f3f2 (diff) | |
parent | 309228c182893d6244e541b9d3899094ce9d7b35 (diff) |
Remove implementation details from wifi hidden api flags am: 66cccbfe8d am: 6c30056ac8 am: 309228c182
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Wifi/+/2051301
Change-Id: Icac44731efe5ec0cd41f6365098317fa43136cf1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | apex/Android.bp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/apex/Android.bp b/apex/Android.bp index cad6ce3ad8..8e42372f07 100644 --- a/apex/Android.bp +++ b/apex/Android.bp @@ -98,6 +98,31 @@ bootclasspath_fragment { max_target_o_low_priority: ["hiddenapi/hiddenapi-max-target-o-low-priority.txt"], max_target_r_low_priority: ["hiddenapi/hiddenapi-max-target-r-low-priority.txt"], unsupported: ["hiddenapi/hiddenapi-unsupported.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.net.wifi", + ], + + // 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.wifi.aware", + "android.net.wifi.hotspot2", + "android.net.wifi.p2p", + "android.net.wifi.rtt", + "android.net.wifi.util", + "com.android.wifi", + ], }, } |