3
0
Fork 0
android_frameworks_base/location/lint-baseline.xml

82 lines
4.3 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="Method `Builder()` is a flagged API and should be inside an `if (Flags.newGeocoder())` check (or annotate the surrounding method `getFromLocation` with `@FlaggedApi(Flags.FLAG_NEW_GEOCODER) to transfer requirement to caller`)"
errorLine1=" new ReverseGeocodeRequest.Builder("
errorLine2=" ^">
<location
file="frameworks/base/location/java/android/location/Geocoder.java"
line="170"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="Method `setCallingAttributionTag()` is a flagged API and should be inside an `if (Flags.newGeocoder())` check (or annotate the surrounding method `getFromLocation` with `@FlaggedApi(Flags.FLAG_NEW_GEOCODER) to transfer requirement to caller`)"
errorLine1=" b.setCallingAttributionTag(mContext.getAttributionTag());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/location/java/android/location/Geocoder.java"
line="178"
column="13"/>
</issue>
<issue
id="FlaggedApi"
message="Method `build()` is a flagged API and should be inside an `if (Flags.newGeocoder())` check (or annotate the surrounding method `getFromLocation` with `@FlaggedApi(Flags.FLAG_NEW_GEOCODER) to transfer requirement to caller`)"
errorLine1=" mService.reverseGeocode(b.build(), new GeocodeCallbackImpl(listener));"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/location/java/android/location/Geocoder.java"
line="181"
column="37"/>
</issue>
<issue
id="FlaggedApi"
message="Method `Builder()` is a flagged API and should be inside an `if (Flags.newGeocoder())` check (or annotate the surrounding method `getFromLocationName` with `@FlaggedApi(Flags.FLAG_NEW_GEOCODER) to transfer requirement to caller`)"
errorLine1=" new ForwardGeocodeRequest.Builder("
errorLine2=" ^">
<location
file="frameworks/base/location/java/android/location/Geocoder.java"
line="322"
column="17"/>
</issue>
<issue
id="FlaggedApi"
message="Method `setCallingAttributionTag()` is a flagged API and should be inside an `if (Flags.newGeocoder())` check (or annotate the surrounding method `getFromLocationName` with `@FlaggedApi(Flags.FLAG_NEW_GEOCODER) to transfer requirement to caller`)"
errorLine1=" b.setCallingAttributionTag(mContext.getAttributionTag());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/location/java/android/location/Geocoder.java"
line="333"
column="13"/>
</issue>
<issue
id="FlaggedApi"
message="Method `build()` is a flagged API and should be inside an `if (Flags.newGeocoder())` check (or annotate the surrounding method `getFromLocationName` with `@FlaggedApi(Flags.FLAG_NEW_GEOCODER) to transfer requirement to caller`)"
errorLine1=" mService.forwardGeocode(b.build(), new GeocodeCallbackImpl(listener));"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/location/java/android/location/Geocoder.java"
line="336"
column="37"/>
</issue>
<issue
id="FlaggedApi"
message="Method `getWorkSource()` is a flagged API and should be inside an `if (Flags.gnssApiMeasurementRequestWorkSource())` check (or annotate the surrounding method `Builder` with `@FlaggedApi(Flags.FLAG_GNSS_API_MEASUREMENT_REQUEST_WORK_SOURCE) to transfer requirement to caller`)"
errorLine1=" mWorkSource = request.getWorkSource();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/location/java/android/location/GnssMeasurementRequest.java"
line="234"
column="27"/>
</issue>
</issues>