Home | History | Annotate | Download | only in lint
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <lint>
      3   <!--
      4 STOP! It looks like you want to suppress some lint errors:
      5 - Have you tried identifing the offending patch?
      6   Ask the author for a fix and/or revert the patch.
      7 - It is preferred to add suppressions in the code instead of
      8   sweeping it under the rug here. See:
      9 
     10     http://developer.android.com/tools/debugging/improving-w-lint.html
     11 
     12 Still reading?
     13 - You can edit this file manually to suppress an issue
     14   globally if it is not applicable to the project.
     15 - You can also automatically add issues found so for in the
     16   build process by running:
     17 
     18     build/android/lint/suppress.py
     19 
     20   which will generate this file (Comments are not preserved).
     21   Note: PRODUCT_DIR will be substituted at run-time with actual
     22   directory path (e.g. out/Debug)
     23 -->
     24   <issue id="AllowBackup">
     25     <ignore path="AndroidManifest.xml"/>
     26   </issue>
     27   <issue id="Assert" severity="ignore"/>
     28   <issue id="CommitPrefEdits">
     29     <ignore path="third_party/cacheinvalidation/src/java/com/google/ipc/invalidation/ticl/android2/channel/AndroidChannelPreferences.java"/>
     30   </issue>
     31   <issue id="DefaultLocale">
     32     <ignore path="third_party/cacheinvalidation/src/java/com/google/ipc/invalidation/external/client/contrib/AndroidListenerState.java"/>
     33   </issue>
     34   <issue id="DrawAllocation">
     35     <ignore path="content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java"/>
     36     <ignore path="content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java"/>
     37   </issue>
     38   <issue id="ExportedContentProvider">
     39     <ignore path="AndroidManifest.xml"/>
     40   </issue>
     41   <issue id="HandlerLeak">
     42     <ignore path="remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java"/>
     43   </issue>
     44   <issue id="IconMissingDensityFolder">
     45     <!-- see crbug.com/542435 -->
     46     <ignore path="android_webview/apk/java/res" />
     47   </issue>
     48   <issue id="IconDensities">
     49     <!-- crbug.com/457918 is tracking missing assets -->
     50     <ignore path="components/web_contents_delegate_android/android/java/res/drawable-xxhdpi"/>
     51     <ignore path="components/web_contents_delegate_android/android/java/res/drawable-xxxhdpi"/>
     52     <ignore path="content/public/android/java/res/drawable-xxhdpi"/>
     53     <ignore path="content/public/android/java/res/drawable-xxxhdpi"/>
     54     <ignore path="chrome/android/java/res/drawable-xxhdpi"/>
     55     <ignore path="chrome/android/java/res/drawable-xxxhdpi"/>
     56     <ignore path="ui/android/java/res/drawable-xxhdpi"/>
     57     <ignore path="ui/android/java/res/drawable-xxxhdpi"/>
     58     <!-- The large assets below only include a few densities to reduce APK size. -->
     59     <ignore regexp=".*: data_reduction_illustration.png, google_icon_sprite.png, physical_web_logo.png, physical_web_logo_anim1.png, physical_web_logo_anim2.png$"/>
     60   </issue>
     61   <issue id="IconDipSize">
     62     <ignore regexp=".*google_icon_sprite.png.*"/>
     63   </issue>
     64   <issue id="IconLocation">
     65     <!-- It is OK for content_shell_apk to have missing assets. -->
     66     <ignore path="content/shell/android/java/res/"/>
     67     <!-- Suppression for chrome/test/chromedriver/test/webview_shell/java/res/drawable/icon.png -->
     68     <ignore path="res/drawable/icon.png"/>
     69     <!-- TODO(lambroslambrou) remove this once crbug.com/502030 is fixed. -->
     70     <ignore path="remoting/android/java/res"/>
     71   </issue>
     72   <issue id="InconsistentLayout" severity="ignore"/>
     73   <issue id="InflateParams" severity="ignore"/>
     74   <issue id="LongLogTag" severity="ignore"/>
     75   <issue id="MissingApplicationIcon" severity="ignore"/>
     76   <issue id="MissingPermission" severity="ignore"/>
     77   <issue id="MissingRegistered" severity="ignore"/>
     78   <issue id="MissingVersion">
     79     <ignore path="AndroidManifest.xml"/>
     80   </issue>
     81   <issue id="InlinedApi" severity="ignore"/>
     82   <issue id="NewApi">
     83     <ignore regexp="Attribute `paddingStart` referenced here can result in a crash on some specific devices older than API 17"/>
     84     <ignore path="org/chromium/base/AnimationFrameTimeHistogram$Recorder.class"/>
     85     <ignore path="org/chromium/base/JavaHandlerThread.class"/>
     86     <ignore path="org/chromium/base/SysUtils.class"/>
     87     <ignore path="org/chromium/chrome/browser/TtsPlatformImpl.class"/>
     88     <ignore path="org/chromium/chrome/browser/TtsPlatformImpl$*.class"/>
     89     <ignore path="chrome/android/java/res/values-v17/styles.xml"/>
     90   </issue>
     91   <issue id="OldTargetApi">
     92     <ignore path="AndroidManifest.xml"/>
     93   </issue>
     94   <issue id="Overdraw" severity="ignore"/>
     95   <issue id="Recycle" severity="ignore"/>
     96   <issue id="Registered" severity="ignore"/>
     97   <issue id="RtlCompat" severity="ignore"/>
     98   <issue id="RtlEnabled" severity="ignore"/>
     99   <issue id="RtlSymmetry" severity="ignore"/>
    100   <issue id="SdCardPath">
    101     <ignore path="content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java"/>
    102   </issue>
    103   <issue id="SetJavaScriptEnabled" severity="ignore"/>
    104   <issue id="UnusedResources">
    105     <!-- Used by chrome/android/java/AndroidManifest.xml -->
    106     <ignore path="chrome/android/java/res/drawable/window_background.xml" />
    107     <ignore path="chrome/android/java/res/xml/bookmark_widget_info.xml" />
    108     <ignore path="chrome/android/java/res/xml/file_paths.xml" />
    109 
    110     <ignore path="content/shell/android/shell_apk/res/layout/content_shell_activity.xml" />
    111     <ignore path="content/shell/android/shell_apk/res/values/strings.xml" />
    112   </issue>
    113   <issue id="SignatureOrSystemPermissions" severity="ignore"/>
    114   <issue id="UnusedAttribute" severity="ignore"/>
    115   <issue id="ViewConstructor" severity="ignore"/>
    116   <issue id="WrongCall" severity="ignore"/>
    117   <issue id="UselessParent">
    118     <ignore path="chrome/android/java/res/layout/data_reduction_promo_screen.xml" />
    119   </issue>
    120 </lint>
    121