diff --git a/Android.bp b/Android.bp index b456a72170a..9b4cfde6e97 100644 --- a/Android.bp +++ b/Android.bp @@ -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",