Revert^3 "Make Lint FlaggedApi violations errors"
This reverts commit 373024d012a7e03da03df47cee069853bb01b647.
Reason for revert: <Potential culprit for b/351156674 and b/351161963 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
>
Change-Id: I54b011d88b521a81918574d174c208fab0047adb
diff --git a/java/lint_defaults.txt b/java/lint_defaults.txt
index 262e184..b8ce95c 100644
--- a/java/lint_defaults.txt
+++ b/java/lint_defaults.txt
@@ -123,6 +123,9 @@
--warning_check SupportAnnotationUsage
--warning_check UniqueConstants
--warning_check UseSdkSuppress
+# TODO(b/303434307) The intent is for this to be set to error severity
+# once existing violations are cleaned up
+--warning_check FlaggedApi
--warning_check ExactAlarm
--warning_check ExpiredTargetSdkVersion