New logging lint checks.

[LogNotAppSignal] tells you about using signal service logger in the app.
[LogTagInlined] tells you about not using a constant tag.
This commit is contained in:
Alan Evans
2020-05-09 12:23:09 -03:00
committed by Alex Hart
parent 26e582d806
commit c63e42715e
6 changed files with 220 additions and 3 deletions

View File

@@ -19,6 +19,8 @@
<!-- Custom lints -->
<issue id="LogNotSignal" severity="error" />
<issue id="LogNotAppSignal" severity="warning" />
<issue id="LogTagInlined" severity="warning" />
<issue id="RestrictedApi" severity="error">
<ignore path="*/org/thoughtcrime/securesms/mediasend/camerax/VideoCapture.java" />