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:30:38 +0000 |
commit | b9653a95dfa2a121800160b47af7869072620ba6 (patch) | |
tree | b29549a3b21aef33aa3882f60a7dd61fbdd78acc | |
parent | 9b6399bea6a80535193dd63804faf23befb3a6c2 (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
-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 784e3a859851..04eb9de45798 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 " + |