summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Alexander Dorokhine <adorokhine@google.com> 2020-12-04 12:17:30 -0800
committer Alexander Dorokhine <adorokhine@google.com> 2020-12-04 12:17:30 -0800
commitc38a05e2bbc53ba1dc6efed9f343436087e7b09b (patch)
tree91abdbfb3a7b8df45edc249701a0035db6e17924
parent44b040f5532b95c74a29d01a881d4d6c98a833ed (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 Change-Id: If81cda012b4627c8018ae54a0f0932ee39d6fd96
-rw-r--r--apex/Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/apex/Android.bp b/apex/Android.bp
index 0a535a8fe9b9..4e80acb64e05 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -15,6 +15,7 @@
mainline_stubs_args =
"--error UnhiddenSystemApi " +
"--hide BroadcastBehavior " +
+ "--hide CallbackInterface " +
"--hide DeprecationMismatch " +
"--hide HiddenSuperclass " +
"--hide HiddenTypedefConstant " +