summaryrefslogtreecommitdiff
path: root/java/lint_defaults.txt
blob: 2de05b0a0516b71e7fb41b181df7e86767e2e548 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# Treat LintError as fatal to catch invocation errors
--fatal_check LintError

# Downgrade existing errors to warnings
--warning_check AppCompatResource                  # 55 occurences in 10 modules
--warning_check AppLinkUrlError                    # 111 occurences in 53 modules
--warning_check BlockedPrivateApi                  # 2 occurences in 2 modules
--warning_check ByteOrderMark                      # 2 occurences in 2 modules
--warning_check DuplicateActivity                  # 3 occurences in 3 modules
--warning_check DuplicateDefinition                # 3623 occurences in 48 modules
--warning_check DuplicateIds                       # 207 occurences in 22 modules
--warning_check EllipsizeMaxLines                  # 12 occurences in 7 modules
--warning_check ExtraTranslation                   # 21276 occurences in 27 modules
--warning_check FontValidationError                # 4 occurences in 1 modules
--warning_check FullBackupContent                  # 16 occurences in 1 modules
--warning_check GetContentDescriptionOverride      # 3 occurences in 2 modules
--warning_check HalfFloat                          # 31 occurences in 1 modules
--warning_check HardcodedDebugMode                 # 99 occurences in 95 modules
--warning_check ImpliedQuantity                    # 703 occurences in 27 modules
--warning_check ImpliedTouchscreenHardware         # 4 occurences in 4 modules
--warning_check IncludeLayoutParam                 # 11 occurences in 6 modules
--warning_check Instantiatable                     # 145 occurences in 19 modules
--warning_check InvalidPermission                  # 6 occurences in 4 modules
--warning_check InvalidUsesTagAttribute            # 6 occurences in 2 modules
--warning_check InvalidWakeLockTag                 # 111 occurences in 37 modules
--warning_check JavascriptInterface                # 3 occurences in 2 modules
--warning_check LibraryCustomView                  # 9 occurences in 4 modules
--warning_check LogTagMismatch                     # 81 occurences in 13 modules
--warning_check LongLogTag                         # 249 occurences in 12 modules
--warning_check MenuTitle                          # 5 occurences in 4 modules
--warning_check MissingClass                       # 537 occurences in 141 modules
--warning_check MissingConstraints                 # 39 occurences in 10 modules
--warning_check MissingDefaultResource             # 1257 occurences in 40 modules
--warning_check MissingIntentFilterForMediaSearch  # 1 occurences in 1 modules
--warning_check MissingLeanbackLauncher            # 3 occurences in 3 modules
--warning_check MissingLeanbackSupport             # 2 occurences in 2 modules
--warning_check MissingOnPlayFromSearch            # 1 occurences in 1 modules
--warning_check MissingPermission                  # 2071 occurences in 150 modules
--warning_check MissingPrefix                      # 46 occurences in 41 modules
--warning_check MissingQuantity                    # 100 occurences in 1 modules
--warning_check MissingSuperCall                   # 121 occurences in 36 modules
--warning_check MissingTvBanner                    # 3 occurences in 3 modules
--warning_check NamespaceTypo                      # 3 occurences in 3 modules
--warning_check NetworkSecurityConfig              # 46 occurences in 12 modules
--warning_check NewApi                             # 1996 occurences in 122 modules
--warning_check NotSibling                         # 15 occurences in 10 modules
--warning_check ObjectAnimatorBinding              # 14 occurences in 5 modules
--warning_check OnClick                            # 49 occurences in 21 modules
--warning_check Orientation                        # 77 occurences in 19 modules
--warning_check Override                           # 385 occurences in 36 modules
--warning_check ParcelCreator                      # 23 occurences in 2 modules
--warning_check ProtectedPermissions               # 2413 occurences in 381 modules
--warning_check Range                              # 80 occurences in 28 modules
--warning_check RecyclerView                       # 1 occurences in 1 modules
--warning_check ReferenceType                      # 4 occurences in 1 modules
--warning_check ResourceAsColor                    # 19 occurences in 14 modules
--warning_check RequiredSize                       # 52 occurences in 13 modules
--warning_check ResAuto                            # 3 occurences in 1 modules
--warning_check ResourceCycle                      # 37 occurences in 10 modules
--warning_check ResourceType                       # 137 occurences in 36 modules
--warning_check RestrictedApi                      # 28 occurences in 5 modules
--warning_check RtlCompat                          # 9 occurences in 6 modules
--warning_check ServiceCast                        # 3 occurences in 1 modules
--warning_check SoonBlockedPrivateApi              # 5 occurences in 3 modules
--warning_check StringFormatInvalid                # 148 occurences in 11 modules
--warning_check StringFormatMatches                # 4800 occurences in 30 modules
--warning_check UnknownId                          # 8 occurences in 7 modules
--warning_check ValidFragment                      # 12 occurences in 5 modules
--warning_check ValidRestrictions                  # 5 occurences in 1 modules
--warning_check WebViewLayout                      # 3 occurences in 1 modules
--warning_check WrongCall                          # 21 occurences in 3 modules
--warning_check WrongConstant                      # 894 occurences in 126 modules
--warning_check WrongManifestParent                # 10 occurences in 4 modules
--warning_check WrongThread                        # 14 occurences in 6 modules
--warning_check WrongViewCast                      # 1 occurences in 1 modules

# TODO(b/158390965): remove this when lint doesn't crash
--disable_check HardcodedDebugMode

--warning_check QueryAllPackagesPermission