Merge "Revert^2 "Baseline one more Lint FlaggedApi violation"" into main

This commit is contained in:
Treehugger Robot 2024-07-04 10:37:15 +00:00 • committed by Gerrit Code Review
commit ff16433402

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>