Revert^2 "Baseline one more Lint FlaggedApi violation"

This reverts commit d6fa127ec0.

Reason for revert: updating lint-baseline.xml does not cause build brekage; keep holding back the separate CL that turns FlaggedApi violations into errors

Change-Id: Ie5d048bde1c0b717cb0d589d33550e6b68154be8
This commit is contained in:
Mårten Kongstad 2024-07-04 06:31:15 +00:00 • committed by Gerrit Code Review
commit 3eb23a9d5e

View file

@ -12,4 +12,15 @@
column="50"/>
</issue>
<issue
id="FlaggedApi"
message="Method `TetheringRequest()` is a flagged API and should be inside an `if (Flags.tetheringRequestWithSoftApConfig())` check (or annotate the surrounding method `build` with `@FlaggedApi(Flags.TETHERING_REQUEST_WITH_SOFT_AP_CONFIG) to transfer requirement to caller`)"
errorLine1=" return new TetheringRequest(mBuilderParcel);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/TetheringManager.java"
line="814"
column="24"/>
</issue>
</issues>