diff --git a/java/core-libraries/Android.bp b/java/core-libraries/Android.bp index 128829ec0..958f4cead 100644 --- a/java/core-libraries/Android.bp +++ b/java/core-libraries/Android.bp @@ -315,12 +315,6 @@ java_system_modules { // the UnsupportedAppUsage, CorePlatformApi and IntraCoreApi // annotations. "art.module.api.annotations.for.system.modules", - - // Make nullability annotations available when compiling public stubs. - // They are provided as a separate library because while the - // annotations are not themselves part of the public API provided by - // this module they are used in the stubs. - "stub-annotations", ], }