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

Commit 4f29e5f5 authored by Paul Duffin's avatar Paul Duffin
Browse files

Remove implementation details from bluetooth hidden api flags

Ran the following to compute the set of split_packages and
package_prefixes properties.
    m analyze_bcpf && analyze_bcpf --bcpf com.android.bluetooth-bootclasspath-fragment --fix

Ignore-AOSP-First: com.android.bluetooth-bootclasspath-fragment is not present in AOSP.
Bug: 194063708
Test: m out/soong/hiddenapi/hiddenapi-flags.csv
Change-Id: Icb1c8a6732971dfb35394c09cc8923dd37ab7207
parent 85b0265f
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -90,6 +90,27 @@ 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.bluetooth",
        ],

        // 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.bluetooth.le",
            "com.android.bluetooth",
        ],
    },

}