android_packages_modules_Co.../Tethering/common/TetheringLib/lint-baseline.xml
Mårten Kongstad 3eb23a9d5e 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
2024-07-04 06:31:15 +00:00

26 lines
1.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.4.0-alpha08" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha08">
<issue
id="FlaggedApi"
message="Field `TETHERING_VIRTUAL` is a flagged API and should be inside an `if (Flags.tetheringRequestVirtual())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.TETHERING_REQUEST_VIRTUAL) to transfer requirement to caller`)"
errorLine1=" public static final int MAX_TETHERING_TYPE = TETHERING_VIRTUAL;"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/TetheringManager.java"
line="211"
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>