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

Commit 05baecdc authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Remove implementation details from media hidden api flags" am:...

Merge "Remove implementation details from media hidden api flags" am: 99b17905 am: b0e65733 am: 30ecdac1

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/2034164

Change-Id: I64fc9b0bbe0628c6f397b9f96652140cf0bd4e04
parents 6abb05f2 30ecdac1
Loading
Loading
Loading
Loading
+20 −0
Original line number Original line Diff line number Diff line
@@ -124,6 +124,26 @@ bootclasspath_fragment {
    // modified by the Soong or platform compat team.
    // modified by the Soong or platform compat team.
    hidden_api: {
    hidden_api: {
        max_target_o_low_priority: ["hiddenapi/hiddenapi-max-target-o-low-priority.txt"],
        max_target_o_low_priority: ["hiddenapi/hiddenapi-max-target-o-low-priority.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.media",
        ],

        // 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.media.internal",
        ],
    },
    },
}
}