Re-enable nullaway plugin
Bug: 307330031
Test: make Settings RUN_ERROR_PRONE=true
Change-Id: I6445b588f11bc01e6d885f73ffa35329b5db2ab2
diff --git a/Android.bp b/Android.bp
index b456a72..9b4cfde 100644
--- a/Android.bp
+++ b/Android.bp
@@ -107,13 +107,12 @@
plugins: ["androidx.room_room-compiler-plugin"],
- // TODO: b/307330031 - Re-enable the nullaway plugin when the issue is fixed.
- // errorprone: {
- // extra_check_modules: ["//external/nullaway:nullaway_plugin"],
- // javacflags: [
- // "-XepOpt:NullAway:AnnotatedPackages=com.android.settings",
- // ],
- // },
+ errorprone: {
+ extra_check_modules: ["//external/nullaway:nullaway_plugin"],
+ javacflags: [
+ "-XepOpt:NullAway:AnnotatedPackages=com.android.settings",
+ ],
+ },
libs: [
"telephony-common",