Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9653a95 authored by Alexander Dorokhine's avatar Alexander Dorokhine Committed by Anton Hansson
Browse files

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
parent 9b6399be
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
mainline_stubs_args =
    "--error UnhiddenSystemApi " +
    "--hide BroadcastBehavior " +
    "--hide CallbackInterface " +
    "--hide DeprecationMismatch " +
    "--hide HiddenSuperclass " +
    "--hide HiddenTypedefConstant " +