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

Commit d9300117 authored by Colin Cross's avatar Colin Cross
Browse files

Add a lint baseline for Launcher3

The lint version in tm-qpr-dev incorrectly flags BaseActivity.java.
Add an entry to lint-baseline.xml file to silence the incorrect
error.  The newer version of lint in master doesn't have the false
positive.

Bug: 258754271
Bug: 256019562
Test: m RUN_ERROR_PRONE=true javac-check lint-check
Change-Id: I2fd22e96c8e89b7dc25132089e36d599e012e747
Merged-In: If02f87ef74c73321afa3427d845ad80539292b30
parent b63cc3f1
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -606,4 +606,20 @@
            column="61"/>
    </issue>

    <issue
        id="NewApi"
        message="Call requires API level 33 (current min is 26): `android.app.Activity#getOnBackInvokedDispatcher`">
        <location
            file="packages/apps/Launcher3/src/com/android/launcher3/BaseActivity.java"
            line="182"/>
    </issue>

    <issue
        id="NewApi"
        message="Call requires API level 33 (current min is 26): `android.window.OnBackInvokedDispatcher#registerOnBackInvokedCallback`">
        <location
            file="packages/apps/Launcher3/src/com/android/launcher3/BaseActivity.java"
            line="182"/>
    </issue>

</issues>