Upgrade AndroidFrameworkUid to be fatal error.
We've fixed the one remaining example of code that accidentally
crosses UID with userId, so this change upgrades the check to become
a fatal build error to prevent future bugs.
Bug: 155703208
Test: atest error_prone_android_framework_test
Change-Id: I3bc46f8039a88b5f3d5f89dc9b5fda785d5c654f
diff --git a/services/Android.bp b/services/Android.bp
index 971f4dd..25a0d7e 100644
--- a/services/Android.bp
+++ b/services/Android.bp
@@ -6,6 +6,7 @@
errorprone: {
javacflags: [
"-Xep:AndroidFrameworkCompatChange:ERROR",
+ "-Xep:AndroidFrameworkUid:ERROR",
],
},
}