Commit 5e6af313 authored by Peter Wen's avatar Peter Wen Committed by Commit Bot

Android: Add lint suppression for GMSCore APIs

Chrome makes use of these APIs. Rather than adding @SuppressWarnings for
the RestrictedApi check for all classes that use these APIs, add a
chrome-specific suppression for just these ones that are false
positives.

Bug: 1139442
Change-Id: I95dbf4ed84908a12242e31b103386fecee88a128
Fixed: 1139442
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2487846
Auto-Submit: Peter Wen <wnwen@chromium.org>
Commit-Queue: Sam Maier <smaier@chromium.org>
Reviewed-by: default avatarSam Maier <smaier@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819426}
parent 3922d4f9
...@@ -135,6 +135,10 @@ Still reading? ...@@ -135,6 +135,10 @@ Still reading?
<issue id="PrivateApi" severity="ignore"/> <issue id="PrivateApi" severity="ignore"/>
<!-- Chrome is a system app. --> <!-- Chrome is a system app. -->
<issue id="ProtectedPermissions" severity="ignore"/> <issue id="ProtectedPermissions" severity="ignore"/>
<issue id="RestrictedApi">
<!-- Chrome uses these GMS core APIs. -->
<ignore regexp="is marked as internal and should not be accessed from apps"/>
</issue>
<issue id="Recycle" severity="ignore"/> <issue id="Recycle" severity="ignore"/>
<issue id="Registered" severity="ignore"/> <issue id="Registered" severity="ignore"/>
<issue id="ResourceAsColor" severity="ignore"/> <issue id="ResourceAsColor" severity="ignore"/>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment