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="CommitPrefEdits"> 28 <ignore path="third_party/cacheinvalidation/src/java/com/google/ipc/invalidation/ticl/android2/channel/AndroidChannelPreferences.java"/> 29 </issue> 30 <issue id="DefaultLocale"> 31 <ignore path="PRODUCT_DIR/content_shell_test_apk/classes/org/chromium/content/browser/ViewportTest.class"/> 32 <ignore path="android_webview/javatests/src/org/chromium/android_webview/test/AwViewportTest.java"/> 33 <ignore path="android_webview/javatests/src/org/chromium/android_webview/test/LoadUrlTest.java"/> 34 <ignore path="chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java"/> 35 <ignore path="chrome/android/testshell/javatests/src/org/chromium/chrome/testshell/ChromiumTestShellUrlTest.java"/> 36 <ignore path="chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/sync/SyncTestUtil.java"/> 37 <ignore path="content/public/android/java/src/org/chromium/content/app/Linker.java"/> 38 <ignore path="content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java"/> 39 <ignore path="content/public/android/java/src/org/chromium/content/browser/accessibility/JellyBeanAccessibilityInjector.java"/> 40 <ignore path="content/public/android/javatests/src/org/chromium/content/browser/ViewportTest.java"/> 41 <ignore path="third_party/cacheinvalidation/src/java/com/google/ipc/invalidation/external/client/contrib/AndroidListenerState.java"/> 42 </issue> 43 <issue id="DrawAllocation"> 44 <ignore path="content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java"/> 45 <ignore path="content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java"/> 46 </issue> 47 <issue id="ExportedContentProvider"> 48 <ignore path="AndroidManifest.xml"/> 49 </issue> 50 <issue id="HandlerLeak"> 51 <ignore path="content/public/android/java/src/org/chromium/content/browser/LongPressDetector.java"/> 52 <ignore path="content/public/android/java/src/org/chromium/content/browser/third_party/GestureDetector.java"/> 53 <ignore path="remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java"/> 54 </issue> 55 <issue id="InlinedApi"> 56 <ignore path="base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java"/> 57 <ignore path="base/android/java/src/org/chromium/base/MemoryPressureListener.java"/> 58 <ignore path="chrome/android/java/src/org/chromium/chrome/browser/printing/PrintingControllerFactory.java"/> 59 <ignore path="content/public/android/java/src/org/chromium/content/browser/DeviceUtils.java"/> 60 <ignore path="content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java"/> 61 <ignore path="content/public/android/java/src/org/chromium/content/browser/accessibility/JellyBeanAccessibilityInjector.java"/> 62 <ignore path="media/base/android/java/src/org/chromium/media/AudioManagerAndroid.java"/> 63 <ignore path="media/base/android/java/src/org/chromium/media/MediaCodecBridge.java"/> 64 <ignore path="media/base/android/java/src/org/chromium/media/MediaDrmBridge.java"/> 65 <ignore path="media/base/android/java/src/org/chromium/media/WebAudioMediaCodecBridge.java"/> 66 <ignore path="net/android/java/src/org/chromium/net/X509Util.java"/> 67 <ignore path="printing/android/java/src/org/chromium/printing/PrintingControllerImpl.java"/> 68 <ignore path="ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java"/> 69 </issue> 70 <issue id="MissingRegistered" severity="ignore"/> 71 <issue id="MissingSuperCall"> 72 <ignore path="android_webview/java/src/org/chromium/android_webview/AwContents.java"/> 73 <ignore path="content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java"/> 74 </issue> 75 <issue id="MissingVersion"> 76 <ignore path="AndroidManifest.xml"/> 77 </issue> 78 <issue id="NewApi"> 79 <ignore path="PRODUCT_DIR/android_webview_apk/classes/org/chromium/android_webview/test/AwTestContainerView.class"/> 80 <ignore path="PRODUCT_DIR/chromium_testshell_test_apk/classes/org/chromium/printing/PrintingControllerTest$6.class"/> 81 <ignore path="PRODUCT_DIR/chromium_testshell_test_apk/classes/org/chromium/printing/PrintingControllerTest.class"/> 82 <ignore path="PRODUCT_DIR/content_shell_test_apk/classes/org/chromium/content/browser/ClipboardTest.class"/> 83 <ignore path="android_webview/java/src/org/chromium/android_webview/AwPdfExporter.java"/> 84 <ignore path="android_webview/java/src/org/chromium/android_webview/AwPrintDocumentAdapter.java"/> 85 <ignore path="android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java"/> 86 <ignore path="android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java"/> 87 <ignore path="base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java"/> 88 <ignore path="chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java"/> 89 <ignore path="chrome/android/java/src/org/chromium/chrome/browser/TtsPlatformImpl.java"/> 90 <ignore path="chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java"/> 91 <ignore path="chrome/android/java/src/org/chromium/chrome/browser/infobar/AnimationHelper.java"/> 92 <ignore path="chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java"/> 93 <ignore path="chrome/test/chromedriver/test/webview_shell/java/src/org/chromium/chromedriver_webview_shell/Main.java"/> 94 <ignore path="content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java"/> 95 <ignore path="content/public/android/java/src/org/chromium/content/browser/GenericTouchGesture.java"/> 96 <ignore path="content/public/android/java/src/org/chromium/content/browser/VSyncMonitor.java"/> 97 <ignore path="content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java"/> 98 <ignore path="content/public/android/java/src/org/chromium/content/browser/accessibility/JellyBeanAccessibilityInjector.java"/> 99 <ignore path="content/public/android/java/src/org/chromium/content/browser/accessibility/JellyBeanBrowserAccessibilityManager.java"/> 100 <ignore path="content/public/android/java/src/org/chromium/content/browser/accessibility/KitKatBrowserAccessibilityManager.java"/> 101 <ignore path="content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java"/> 102 <ignore path="content/public/android/javatests/src/org/chromium/content/browser/ClipboardTest.java"/> 103 <ignore path="media/base/android/java/src/org/chromium/media/AudioManagerAndroid.java"/> 104 <ignore path="media/base/android/java/src/org/chromium/media/MediaCodecBridge.java"/> 105 <ignore path="media/base/android/java/src/org/chromium/media/MediaDrmBridge.java"/> 106 <ignore path="media/base/android/java/src/org/chromium/media/VideoCapture.java"/> 107 <ignore path="media/base/android/java/src/org/chromium/media/WebAudioMediaCodecBridge.java"/> 108 <ignore path="printing/android/java/src/org/chromium/printing/PrintDocumentAdapterWrapper.java"/> 109 <ignore path="printing/android/java/src/org/chromium/printing/PrintManagerDelegateImpl.java"/> 110 <ignore path="printing/android/java/src/org/chromium/printing/PrintingControllerImpl.java"/> 111 <ignore path="tools/android/memconsumer/java/src/org/chromium/memconsumer/ResidentService.java"/> 112 <ignore path="ui/android/java/src/org/chromium/ui/ColorPickerAdvancedComponent.java"/> 113 <ignore path="ui/android/java/src/org/chromium/ui/base/Clipboard.java"/> 114 <ignore path="ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java"/> 115 <ignore path="ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java"/> 116 </issue> 117 <issue id="OldTargetApi"> 118 <ignore path="AndroidManifest.xml"/> 119 </issue> 120 <issue id="Recycle" severity="Error"> 121 <ignore path="PRODUCT_DIR/content_shell_test_apk/classes/org/chromium/content/browser/ContentViewGestureHandlerTest.class"/> 122 <ignore path="android_webview/javatests/src/org/chromium/android_webview/test/WebKitHitTestTest.java"/> 123 <ignore path="android_webview/javatests/src/org/chromium/android_webview/test/util/AwTestTouchUtils.java"/> 124 <ignore path="chrome/android/javatests/src/org/chromium/chrome/browser/test/ProviderBookmarkNodeTest.java"/> 125 <ignore path="content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestTouchUtils.java"/> 126 <ignore path="content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java"/> 127 </issue> 128 <issue id="Registered" severity="ignore"/> 129 <issue id="SdCardPath"> 130 <ignore path="content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java"/> 131 </issue> 132 <issue id="SetJavaScriptEnabled" severity="ignore"/> 133 <issue id="UseSparseArrays"> 134 <ignore path="android_webview/java/src/org/chromium/android_webview/AwQuotaManagerBridge.java"/> 135 <ignore path="android_webview/java/src/org/chromium/android_webview/AwResource.java"/> 136 <ignore path="remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java"/> 137 <ignore path="ui/android/java/src/org/chromium/ui/base/WindowAndroid.java"/> 138 </issue> 139 <issue id="ViewConstructor" severity="ignore"/> 140 <issue id="WrongCall" severity="ignore"/> 141 </lint> 142