Merge "Reapply "Ignore @FlaggedApi annotated API in udc mainline branch"" into udc-mainline-prod
diff --git a/framework/Android.bp b/framework/Android.bp
index 8c0bdf4..4c7cfdc 100644
--- a/framework/Android.bp
+++ b/framework/Android.bp
@@ -22,6 +22,10 @@
// In the branch which does not support FlaggedAPI, use this default to ignore the annotated APIs.
java_defaults {
name: "FlaggedApiDefaults",
+ api_dir: "udc-extended-api",
+ droiddoc_options: [
+ "--hide-annotation android.annotation.FlaggedApi",
+ ],
}
// The above variables may have different values