Pedro Loureiro 76ea04fab4 Add lint baseline to address NewApi errors
We are enabling a new lint check where the min sdk != compile sdk.
It has produced a lot of errors and adding the baseline file(s)
allows us to continue work without introducing more problems.

Bug: 150847901

Test: m lint-check
Change-Id: Ide8a8fe80ba31396f23853ab266afcbcc33af9a6
Merged-In: Ide8a8fe80ba31396f23853ab266afcbcc33af9a6
2021-04-14 10:42:22 +00:00

16 lines
665 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<issues format="5" by="lint 4.1.0" client="cli" variant="all" version="4.1.0">
<issue
id="NewApi"
message="Call requires API level 28 (current min is 21): `android.content.pm.PackageInfo#getLongVersionCode`"
errorLine1=" sCachedVersionCode = Long.toString(info.getLongVersionCode());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/packages/SettingsLib/HelpUtils/src/com/android/settingslib/HelpUtils.java"
line="239"
column="57"/>
</issue>
</issues>