Baseline one more Lint FlaggedApi violation
The Lint FlaggedApi checks are currently configured as warnings. Add existing violations to baselines files to prepare for turning the FlaggedApi checks into errors. Bug: 303434307 Test: treehugger Flag: EXEMPT not possible to flag baseline changes Merged-In: I5cbff0293af79e68057fd42ecfa8d2c8af31ae6a Change-Id: I5cbff0293af79e68057fd42ecfa8d2c8af31ae6a
This commit is contained in:
parent
6d864ff9ca
commit
dddac40259
1 changed files with 11 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue