diff options
author | Alexander Dorokhine <adorokhine@google.com> | 2020-12-04 12:17:30 -0800 |
---|---|---|
committer | Anton Hansson <hansson@google.com> | 2021-01-29 17:08:13 +0000 |
commit | bab383211c9d980c7a649246d4fff2b62de3c3b7 (patch) | |
tree | b3569567a2233c612bf00289cd08403a04a10fea /apex | |
parent | 096a1756fb8bde97c202a266ae2124350380d6b8 (diff) |
Suppress [CallbackInterface] metalava rule for mainline modules.
This rule is already suppressed for main framework code in
framework/Android.bp, but mainline uses a different set of metalava
flags.
Android API council says this is the right thing to do for libraries
which run only on Java 8+, which is true of all mainline modules and
framework code.
Bug: 172180369
Test: AppSearch BatchResultCallback now builds
Merged-In: If81cda012b4627c8018ae54a0f0932ee39d6fd96
Change-Id: If81cda012b4627c8018ae54a0f0932ee39d6fd96
Diffstat (limited to 'apex')
-rw-r--r-- | apex/Android.bp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apex/Android.bp b/apex/Android.bp index 1b149fb9bbbf..1876110c9355 100644 --- a/apex/Android.bp +++ b/apex/Android.bp @@ -19,6 +19,7 @@ package { mainline_stubs_args = "--error UnhiddenSystemApi " + "--hide BroadcastBehavior " + + "--hide CallbackInterface " + "--hide DeprecationMismatch " + "--hide HiddenSuperclass " + "--hide HiddenTypedefConstant " + |