Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a20d765 authored by Cole Faust's avatar Cole Faust
Browse files

Baseline NewApi issues

NewApi was recently updated to support linting methods in
the system, module_lib, and system_server sdks, and was
demoted to a warning due to the new issues it finds.
Baseline all the new issues that NewApi can be made an error
again.

These cls were generated automatically by a script that
copied the NewApi issues from the reference baselines.

Bug: 268261262
Test: m lint-check
Change-Id: I36bd2b6a9c6cbca4cdc6936152bc8e36f4fceaeb
parent 69cb8691
Loading
Loading
Loading
Loading

lint-baseline.xml

0 → 100644
+15 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.0.0-dev" type="baseline" dependencies="true" variant="all" version="8.0.0-dev">

    <issue
        id="NewApi"
        message="Call requires API level 30 (current min is 29): `android.provider.DocumentsContract#buildDocumentUriAsUser`"
        errorLine1="        return DocumentsContract.buildDocumentUriAsUser(authority, documentId, mUserHandle);"
        errorLine2="                                 ~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="packages/apps/DocumentsUI/src/com/android/documentsui/base/UserId.java"
            line="174"
            column="34"/>
    </issue>

</issues>
 No newline at end of file