Clean up NewApi lint suppressions

Remove all @SuppressLint("NewApi") for API levels below 23.
Switch @SuppressLint("NewApi") to @RequiresApi for API levels above 23.

Bug: 1282288
Change-Id: Ibc15eb2f434bd85f594c214e67e4d0f8411b436f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3646715
Commit-Queue: Bo Liu <boliu@chromium.org>
Reviewed-by: Bo Liu <boliu@chromium.org>
Auto-Submit: Neden Wang <nedenwang@tencent.com>
Cr-Commit-Position: refs/heads/main@{#1003936}
NOKEYCHECK=True
GitOrigin-RevId: 56815c187471b01b99d622d8db5014484591cd22
2 files changed
tree: 36baad29f0c1ba2744d14bceb8a173760f40c66c
  1. java/
  2. BUILD.gn
  3. README.md
README.md

//android_webview/glue/

This folder contains a shim layer between the public frameworks APIs (android.webkit.*) and WebView's implementation, and allows them to (mostly) not directly depend on each other.

Folder Dependencies

//android_webview/java/ must not depend on this directory.

See Also