Silence NewApi lint warnings
commite42b2bf8678554039ee05a1dcd52fcaee381eb37
authorboliu <boliu@chromium.org>
Wed, 11 Mar 2015 00:08:18 +0000 (10 17:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 11 Mar 2015 00:09:04 +0000 (11 00:09 +0000)
treed8ce243917c3dcdc68cc326db4fe475a8a23b81b
parent58c4675b91b59e4a055a12690dcea3021113dda4
Silence NewApi lint warnings

Java code is linted with build/android/AndroidManifest.xml which
currently still uses minSdkVersion=14 (ICS). Code under android_webview
will only ship on 22 (L) or later in production. And android webview
instrumentation tests only run on 19 (K) or later. So there is not even
any requirement to add run time checks for these APIs.

Just silence them with SuppressLint.

BUG=

Review URL: https://codereview.chromium.org/998773002

Cr-Commit-Position: refs/heads/master@{#320004}
android_webview/java/src/org/chromium/android_webview/AwContentViewClient.java
android_webview/java/src/org/chromium/android_webview/AwContents.java
android_webview/java/src/org/chromium/android_webview/AwContentsClient.java
android_webview/java/src/org/chromium/android_webview/AwPdfExporter.java
android_webview/java/src/org/chromium/android_webview/AwPrintDocumentAdapter.java
android_webview/java/src/org/chromium/android_webview/AwSettings.java
android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java