Re-enable nullaway plugin

Bug: 307330031
Test: make Settings RUN_ERROR_PRONE=true
Change-Id: I6445b588f11bc01e6d885f73ffa35329b5db2ab2
This commit is contained in:
Jacky Wang
2023-11-23 20:23:26 +08:00
parent 094dfcc5d8
commit b4598567fc

View File

@@ -107,13 +107,12 @@ android_library {
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",