Skip to content
Snippets Groups Projects
Commit d4f437ae authored by Tor Norbye's avatar Tor Norbye Committed by android-build-merger
Browse files

Merge "Remove MbmsDownloadServiceBase special case" am: 0db0fbff

am: 9deb8126

Change-Id: I620d78dba72ef13044eec72985520f4643261bf7
parents b3eebaeb 9deb8126
No related branches found
No related tags found
No related merge requests found
...@@ -670,18 +670,6 @@ interface ClassItem : Item { ...@@ -670,18 +670,6 @@ interface ClassItem : Item {
if (!predicate.test(superClass)) { if (!predicate.test(superClass)) {
superClass.filteredInterfaceTypes(predicate, types, true, includeParents, target) superClass.filteredInterfaceTypes(predicate, types, true, includeParents, target)
} else if (includeSelf && superClass.isInterface()) { } else if (includeSelf && superClass.isInterface()) {
// Special case: Arguably, IInterface should be included in the system API by the
// general rules. However, this was just added to the system API in 28 at the same
// time as metalava, which did not include some hidden super classes in its analysis.
// This is now marked as an incompatible API change, so treat this the same way as in
// API 28 until this is clarified.
if (superClass.simpleName() == "IInterface" &&
(target.qualifiedName() == "android.telephony.mbms.vendor.MbmsDownloadServiceBase" ||
target.qualifiedName() == "android.telephony.mbms.vendor.MbmsStreamingServiceBase")
) {
return types
}
types.add(superClassType) types.add(superClassType)
if (includeParents) { if (includeParents) {
superClass.filteredInterfaceTypes(predicate, types, true, includeParents, target) superClass.filteredInterfaceTypes(predicate, types, true, includeParents, target)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment