summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
author William Escande <wescande@google.com> 2025-02-19 16:00:51 -0800
committer William Escande <wescande@google.com> 2025-02-25 18:52:16 -0800
commit0b7dd7fca71875e84a4630c22a1e762841861660 (patch)
treec64f12d7ff8293e7fe9356805b4c65ebc86886b6 /Android.bp
parent3e23c7864467431d270bd657674517d75400f16b (diff)
Errorprone fix & enforce SelfAssertion
Also fix suppress of TruthIncompatibleType that were related Bug: 311772251 Test: m BluetoothInstrumentationTests Flag: TEST_ONLY Change-Id: Ic63c26bcf9411e1670684b17f05b4fe1785b9a10
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index e1e9a5041d..b04b2333ad 100644
--- a/Android.bp
+++ b/Android.bp
@@ -172,6 +172,7 @@ java_defaults {
"-Xep:ReferenceEquality:ERROR",
"-Xep:ReturnAtTheEndOfVoidFunction:ERROR",
"-Xep:ReturnFromVoid:ERROR",
+ "-Xep:SelfAssertion:ERROR",
"-Xep:StaticAssignmentInConstructor:ERROR",
"-Xep:StaticGuardedByInstance:ERROR",
"-Xep:StringCaseLocaleUsage:ERROR",