Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
metalava
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test-restored
platform
tools
metalava
Commits
29444df3
Commit
29444df3
authored
6 years ago
by
Tor Norbye
Committed by
Gerrit Code Review
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Revert "Remove MbmsDownloadServiceBase special case""
parents
0db0fbff
b9ecb4fd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/com/android/tools/metalava/model/ClassItem.kt
+12
-0
12 additions, 0 deletions
src/main/java/com/android/tools/metalava/model/ClassItem.kt
with
12 additions
and
0 deletions
src/main/java/com/android/tools/metalava/model/ClassItem.kt
+
12
−
0
View file @
29444df3
...
...
@@ -670,6 +670,18 @@ interface ClassItem : Item {
if
(!
predicate
.
test
(
superClass
))
{
superClass
.
filteredInterfaceTypes
(
predicate
,
types
,
true
,
includeParents
,
target
)
}
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
)
if
(
includeParents
)
{
superClass
.
filteredInterfaceTypes
(
predicate
,
types
,
true
,
includeParents
,
target
)
...
...
This diff is collapsed.
Click to expand it.
CodeLinaro
@codelinaro
mentioned in commit
69d093f0
·
9 months ago
mentioned in commit
69d093f0
mentioned in commit 69d093f0e8755765c369992713679a4fb9651d95
Toggle commit list
CodeLinaro
@codelinaro
mentioned in commit
2c3be995
·
9 months ago
mentioned in commit
2c3be995
mentioned in commit 2c3be99502412195a1586898d47f57a7de1284ba
Toggle commit list
CodeLinaro
@codelinaro
mentioned in commit
12f091f0
·
9 months ago
mentioned in commit
12f091f0
mentioned in commit 12f091f0ff7144e977a6d28c8b271c5a04f82ba9
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment