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
This commit is contained in:
Colin Cross
2022-11-11 23:22:49 +00:00
parent b63cc3f113
commit d930011746
+16
View File
@@ -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>