summaryrefslogtreecommitdiffstats
path: root/build/android/lint/suppressions.xml
blob: 11efa06ddeb8719db3a1316c1e96828d5b4e95e3 (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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?xml version="1.0" encoding="utf-8"?>
<lint>
  <!--
STOP! It looks like you want to suppress some lint errors:
- Have you tried identifing the offending patch?
  Ask the author for a fix and/or revert the patch.
- It is preferred to add suppressions in the code instead of
  sweeping it under the rug here. See:

    http://developer.android.com/tools/debugging/improving-w-lint.html

Still reading?
- You can edit this file manually to suppress an issue
  globally if it is not applicable to the project.
- You can also automatically add issues found so for in the
  build process by running:

    build/android/lint/suppress.py

  which will generate this file (Comments are not preserved).
  Note: PRODUCT_DIR will be substituted at run-time with actual
  directory path (e.g. out/Debug)
-->
  <issue id="AllowBackup">
    <ignore path="AndroidManifest.xml"/>
  </issue>
  <issue id="Assert" severity="ignore"/>
  <issue id="CommitPrefEdits">
    <ignore path="third_party/cacheinvalidation/src/java/com/google/ipc/invalidation/ticl/android2/channel/AndroidChannelPreferences.java"/>
  </issue>
  <issue id="DefaultLocale">
    <ignore path="third_party/cacheinvalidation/src/java/com/google/ipc/invalidation/external/client/contrib/AndroidListenerState.java"/>
  </issue>
  <issue id="DrawAllocation">
    <ignore path="content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java"/>
    <ignore path="content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java"/>
  </issue>
  <issue id="ExportedContentProvider">
    <ignore path="AndroidManifest.xml"/>
  </issue>
  <issue id="HandlerLeak">
    <ignore path="remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java"/>
  </issue>
  <issue id="IconDensities">
    <!-- crbug.com/457918 is tracking missing assets -->
    <ignore path="content/public/android/java/res/drawable-xxhdpi"/>
    <ignore path="content/public/android/java/res/drawable-xxxhdpi"/>
    <ignore path="chrome/android/java/res/drawable-xxhdpi"/>
    <ignore path="chrome/android/java/res/drawable-xxxhdpi"/>
    <ignore path="ui/android/java/res/drawable-xxhdpi"/>
    <ignore path="ui/android/java/res/drawable-xxxhdpi"/>
  </issue>
  <!-- It is OK for content_shell_apk and chrome_shell_apk to have missing assets. -->
  <issue id="IconLocation">
    <ignore path="content/shell/android/java/res/"/>
    <ignore path="chrome/android/shell/res/"/>
  </issue>
  <issue id="InconsistentLayout" severity="ignore"/>
  <issue id="InflateParams" severity="ignore"/>
  <issue id="MissingApplicationIcon" severity="ignore"/>
  <issue id="MissingRegistered" severity="ignore"/>
  <issue id="MissingVersion">
    <ignore path="AndroidManifest.xml"/>
  </issue>
  <issue id="InlinedApi" severity="ignore"/>
  <issue id="NewApi">
    <ignore regexp="Attribute `paddingStart` referenced here can result in a crash on some specific devices older than API 17"/>
    <ignore path="org/chromium/base/AnimationFrameTimeHistogram$Recorder.class"/>
    <ignore path="org/chromium/base/JavaHandlerThread.class"/>
    <ignore path="org/chromium/base/SysUtils.class"/>
    <ignore path="org/chromium/chrome/browser/preferences/website/AddExceptionPreference.class"/>
    <ignore path="org/chromium/chrome/browser/infobar/AnimationHelper$*.class"/>
    <ignore path="org/chromium/chrome/browser/infobar/AppBannerInfoBar.class"/>
    <ignore path="org/chromium/chrome/browser/BookmarkUtils.class"/>
    <ignore path="org/chromium/chrome/browser/widget/ButtonCompat.class"/>
    <ignore path="org/chromium/chrome/browser/autofill/CardUnmaskPrompt.class"/>
    <ignore path="org/chromium/chrome/browser/LollipopTtsPlatformImpl.class"/>
    <ignore path="org/chromium/chrome/browser/LollipopTtsPlatformImpl$*.class"/>
    <ignore path="org/chromium/chrome/browser/TtsPlatformImpl.class"/>
    <ignore path="org/chromium/chrome/browser/TtsPlatformImpl$*.class"/>
    <ignore path="org/chromium/content/browser/accessibility/BrowserAccessibilityManager.class"/>
    <ignore path="org/chromium/content/browser/ContentViewCore.class"/>
    <ignore path="org/chromium/content/browser/accessibility/JellyBeanAccessibilityInjector.class"/>
    <ignore path="org/chromium/content/browser/accessibility/JellyBeanBrowserAccessibilityManager$*.class"/>
    <ignore path="org/chromium/content/browser/accessibility/LollipopAccessibilityInjector.class"/>
    <ignore path="org/chromium/content/browser/accessibility/LollipopAccessibilityInjector$*.class"/>
    <ignore path="org/chromium/content/browser/accessibility/LollipopBrowserAccessibilityManager.class"/>
    <ignore path="org/chromium/device/battery/BatteryStatusManager.class"/>
    <ignore path="org/chromium/media/AudioManagerAndroid.class"/>
    <ignore path="org/chromium/media/MediaCodecBridge.class"/>
    <ignore path="org/chromium/media/MediaDrmBridge.class"/>
    <ignore path="org/chromium/media/MediaDrmBridge$*.class"/>
    <ignore path="org/chromium/media/VideoCaptureCamera.class"/>
    <ignore path="org/chromium/media/VideoCaptureCamera2.class"/>
    <ignore path="org/chromium/media/VideoCaptureCamera2$*.class"/>
    <ignore path="org/chromium/media/WebAudioMediaCodecBridge.class"/>
    <ignore path="org/chromium/printing/PrintDocumentAdapterWrapper.class"/>
    <ignore path="org/chromium/printing/PrintManagerDelegateImpl.class"/>
    <ignore path="org/chromium/printing/PrintingControllerImpl.class"/>
    <ignore path="org/chromium/ui/base/Clipboard.class"/>
    <ignore path="org/chromium/ui/ColorPickerAdvancedComponent.class"/>
    <ignore path="org/chromium/ui/gfx/DeviceDisplayInfo.class"/>
    <ignore path="org/chromium/ui/gl/SurfaceTexturePlatformWrapper.class"/>
    <ignore path="org/chromium/ui/widget/TextViewWithClickableSpans.class"/>
    <ignore path="org/chromium/ui/picker/TwoFieldDatePicker.class"/>
  </issue>
  <issue id="OldTargetApi">
    <ignore path="AndroidManifest.xml"/>
  </issue>
  <issue id="Overdraw" severity="ignore"/>
  <issue id="Recycle" severity="ignore"/>
  <issue id="Registered" severity="ignore"/>
  <issue id="RtlCompat" severity="ignore"/>
  <issue id="RtlEnabled" severity="ignore"/>
  <issue id="RtlSymmetry" severity="ignore"/>
  <issue id="SdCardPath">
    <ignore path="content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java"/>
  </issue>
  <issue id="SetJavaScriptEnabled" severity="ignore"/>
  <issue id="UnusedResources">
    <!-- These files are used by chrome_shell_apk and chrome_apk targets. -->
    <ignore path="chrome/android/java/res/layout/accessibility_tab_switcher.xml" />
    <ignore path="chrome/android/java/res/drawable/btn_back.xml" />
    <ignore path="chrome/android/java/res/drawable/btn_forward.xml" />
  </issue>
  <issue id="SignatureOrSystemPermissions" severity="ignore"/>
  <issue id="UnusedAttribute" severity="ignore"/>
  <issue id="ViewConstructor" severity="ignore"/>
  <issue id="WrongCall" severity="ignore"/>
</lint>