630 lines
26 KiB
XML
630 lines
26 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<!-- REMEMBER! First you run Lint locally you'll need to move the lint-baseline.xml file
|
||
generated into the lint folder and called it lint-baseline-local.xml
|
||
If you remove any error when running Lint locally, you'll get a warning from the command
|
||
line advising you to remove it from the baseline. If you remove it (remember to remove it
|
||
from lint-baseline-local.xml file) you should remove it too from
|
||
lint-baseline-ci.xml (THIS FILE) which is the only one included in the repo.
|
||
Eventually, it'll be removed (when we remove all current lint errors included). -->
|
||
<issues format="4" by="lint 2.3.1">
|
||
|
||
<issue
|
||
id="MissingPermission"
|
||
message="Call requires permission which may be rejected by user: code should explicitly check to see if permission is available (with `checkPermission`) or explicitly handle a potential `SecurityException`"
|
||
errorLine1=" Location lastKnownLocation = locationEngine.getLastLocation();"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/maps/widgets/MyLocationView.java"
|
||
line="783"
|
||
column="38"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="MissingPermission"
|
||
message="Call requires permission which may be rejected by user: code should explicitly check to see if permission is available (with `checkPermission`) or explicitly handle a potential `SecurityException`"
|
||
errorLine1=" locationEngine.requestLocationUpdates();"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/maps/widgets/MyLocationView.java"
|
||
line="787"
|
||
column="9"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="DefaultLocale"
|
||
message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead"
|
||
errorLine1=" Timber.v(String.format("[HTTP] Request was successful (code = %d).", response.code()));"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/http/HTTPRequest.java"
|
||
line="112"
|
||
column="16"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="DefaultLocale"
|
||
message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead"
|
||
errorLine1=" Timber.d(String.format("
|
||
errorLine2=" ^">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/http/HTTPRequest.java"
|
||
line="116"
|
||
column="16"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="TimberArgCount"
|
||
message="Wrong argument count, format string `Failed to read the package metadata: ` requires `0` but format call supplies `1`"
|
||
errorLine1=" Timber.e("Failed to read the package metadata: ", exception);"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/storage/FileSource.java"
|
||
line="75"
|
||
column="7"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="TimberArgCount"
|
||
message="Wrong argument count, format string `Failed to read the storage key: ` requires `0` but format call supplies `1`"
|
||
errorLine1=" Timber.e("Failed to read the storage key: ", exception);"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/storage/FileSource.java"
|
||
line="77"
|
||
column="7"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="TimberArgCount"
|
||
message="Wrong argument count, format string `Failed to obtain the external storage path: ` requires `0` but format call supplies `1`"
|
||
errorLine1=" Timber.e("Failed to obtain the external storage path: ", exception);"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/storage/FileSource.java"
|
||
line="86"
|
||
column="9"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="TimberArgCount"
|
||
message="Wrong argument count, format string `Failed to delete old ambient cache database: ` requires `0` but format call supplies `1`"
|
||
errorLine1=" Timber.e("Failed to delete old ambient cache database: ", exception);"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/offline/OfflineManager.java"
|
||
line="113"
|
||
column="11"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="MissingTranslation"
|
||
message=""`mapbox_attributionErrorNoBrowser`" is not translated in "ca" (Catalan), "es" (Spanish), "lt" (Lithuanian), "nl" (Dutch), "sv" (Swedish), "vi" (Vietnamese)"
|
||
errorLine1=" <string name="mapbox_attributionErrorNoBrowser">No web browser installed on device, can\'t open web page.</string>"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/res/values/strings.xml"
|
||
line="13"
|
||
column="13"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="MissingTranslation"
|
||
message=""`mapbox_telemetrySettings`" is not translated in "ca" (Catalan), "es" (Spanish), "lt" (Lithuanian), "nl" (Dutch), "sv" (Swedish), "vi" (Vietnamese)"
|
||
errorLine1=" <string name="mapbox_telemetrySettings">Telemetry Settings</string>"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/res/values/strings.xml"
|
||
line="15"
|
||
column="13"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="BinaryOperationInTimber"
|
||
message="Replace String concatenation with Timber's string formatting"
|
||
errorLine1=" Timber.v("Connected: " + connected);"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/net/ConnectivityReceiver.java"
|
||
line="85"
|
||
column="14"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="BinaryOperationInTimber"
|
||
message="Replace String concatenation with Timber's string formatting"
|
||
errorLine1=" Timber.e("Device returned an out of range width size, ""
|
||
errorLine2=" ^">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/maps/NativeMapView.java"
|
||
line="178"
|
||
column="16"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="BinaryOperationInTimber"
|
||
message="Replace String concatenation with Timber's string formatting"
|
||
errorLine1=" Timber.e("Device returned an out of range height size, ""
|
||
errorLine2=" ^">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/maps/NativeMapView.java"
|
||
line="185"
|
||
column="16"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="BinaryOperationInTimber"
|
||
message="Replace String concatenation with Timber's string formatting"
|
||
errorLine1=" Timber.d("Old ambient cache database deleted to save space: " + path);"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/offline/OfflineManager.java"
|
||
line="110"
|
||
column="22"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="BinaryOperationInTimber"
|
||
message="Replace String concatenation with Timber's string formatting"
|
||
errorLine1=" Timber.e("Not setting minZoomPreference, value is in unsupported range: " + minZoom);"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/maps/Transform.java"
|
||
line="349"
|
||
column="16"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="BinaryOperationInTimber"
|
||
message="Replace String concatenation with Timber's string formatting"
|
||
errorLine1=" Timber.e("Not setting maxZoomPreference, value is in unsupported range: " + maxZoom);"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/maps/Transform.java"
|
||
line="361"
|
||
column="16"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="StringFormatInTimber"
|
||
message="Using 'String#format' inside of 'Timber'"
|
||
errorLine1=" Timber.e(String.format("Stops: %s is a different type: %s", stops.getClass(), exception));"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/style/functions/Function.java"
|
||
line="282"
|
||
column="16"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="StringFormatInTimber"
|
||
message="Using 'String#format' inside of 'Timber'"
|
||
errorLine1=" Timber.v(String.format("[HTTP] Request was successful (code = %d).", response.code()));"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/http/HTTPRequest.java"
|
||
line="112"
|
||
column="16"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="StringFormatInTimber"
|
||
message="Using 'String#format' inside of 'Timber'"
|
||
errorLine1=" Timber.d(String.format("
|
||
errorLine2=" ^">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/http/HTTPRequest.java"
|
||
line="116"
|
||
column="16"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="StringFormatInTimber"
|
||
message="Using 'String#format' inside of 'Timber'"
|
||
errorLine1=" Timber.d(String.format(MapboxConstants.MAPBOX_LOCALE,"
|
||
errorLine2=" ^">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/http/HTTPRequest.java"
|
||
line="163"
|
||
column="16"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="StringFormatInTimber"
|
||
message="Using 'String#format' inside of 'Timber'"
|
||
errorLine1=" Timber.i(String.format(MapboxConstants.MAPBOX_LOCALE,"
|
||
errorLine2=" ^">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/http/HTTPRequest.java"
|
||
line="166"
|
||
column="16"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="StringFormatInTimber"
|
||
message="Using 'String#format' inside of 'Timber'"
|
||
errorLine1=" Timber.w(String.format(MapboxConstants.MAPBOX_LOCALE,"
|
||
errorLine2=" ^">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/http/HTTPRequest.java"
|
||
line="170"
|
||
column="16"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="StringFormatInTimber"
|
||
message="Using 'String#format' inside of 'Timber'"
|
||
errorLine1=" Timber.e(String.format("Layer: %s is a different type: %s", layerId, exception));"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java"
|
||
line="286"
|
||
column="16"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="StringFormatInTimber"
|
||
message="Using 'String#format' inside of 'Timber'"
|
||
errorLine1=" Timber.e(String.format("Source: %s is a different type: %s", sourceId, exception));"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java"
|
||
line="407"
|
||
column="16"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="StringFormatInTimber"
|
||
message="Using 'String#format' inside of 'Timber'"
|
||
errorLine1=" Timber.e(String.format(MapboxConstants.MAPBOX_LOCALE,"
|
||
errorLine2=" ^">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/maps/NativeMapView.java"
|
||
line="92"
|
||
column="16"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="ThrowableNotAtBeginning"
|
||
message="Throwable should be first argument"
|
||
errorLine1=" Timber.e("Failed to read the package metadata: ", exception);"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/storage/FileSource.java"
|
||
line="75"
|
||
column="7"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="ThrowableNotAtBeginning"
|
||
message="Throwable should be first argument"
|
||
errorLine1=" Timber.e("Failed to read the storage key: ", exception);"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/storage/FileSource.java"
|
||
line="77"
|
||
column="7"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="ThrowableNotAtBeginning"
|
||
message="Throwable should be first argument"
|
||
errorLine1=" Timber.e("Failed to obtain the external storage path: ", exception);"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/storage/FileSource.java"
|
||
line="86"
|
||
column="9"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="ThrowableNotAtBeginning"
|
||
message="Throwable should be first argument"
|
||
errorLine1=" Timber.e("Failed to delete old ambient cache database: ", exception);"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/offline/OfflineManager.java"
|
||
line="113"
|
||
column="11"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="StaticFieldLeak"
|
||
message="Do not place Android context classes in static fields (static reference to `ConnectivityReceiver` which has field `context` pointing to `Context`); this is a memory leak (and also breaks Instant Run)"
|
||
errorLine1=" private static ConnectivityReceiver INSTANCE;"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/net/ConnectivityReceiver.java"
|
||
line="24"
|
||
column="3"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="StaticFieldLeak"
|
||
message="Do not place Android context classes in static fields (static reference to `IconFactory` which has field `context` pointing to `Context`); this is a memory leak (and also breaks Instant Run)"
|
||
errorLine1=" private static IconFactory instance;"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/annotations/IconFactory.java"
|
||
line="38"
|
||
column="3"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="StaticFieldLeak"
|
||
message="Do not place Android context classes in static fields (static reference to `Mapbox` which has field `context` pointing to `Context`); this is a memory leak (and also breaks Instant Run)"
|
||
errorLine1=" private static Mapbox INSTANCE;"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/Mapbox.java"
|
||
line="29"
|
||
column="3"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="StaticFieldLeak"
|
||
message="Do not place Android context classes in static fields (static reference to `OfflineManager` which has field `context` pointing to `Context`); this is a memory leak (and also breaks Instant Run)"
|
||
errorLine1=" // This object is implemented as a singleton"
|
||
errorLine2=" ^">
|
||
<location
|
||
file="src/main/java/com/mapbox/mapboxsdk/offline/OfflineManager.java"
|
||
line="42"
|
||
column="3"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="UnusedResources"
|
||
message="The resource `R.color.mapbox_my_location_ring` appears to be unused"
|
||
errorLine1=" <color name="mapbox_my_location_ring">@color/mapbox_blue</color>"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/res/values/colors.xml"
|
||
line="6"
|
||
column="12"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="UnusedResources"
|
||
message="The resource `R.dimen.mapbox_infowindow_offset` appears to be unused"
|
||
errorLine1=" <dimen name="mapbox_infowindow_offset">-2dp</dimen>"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/res/values/dimens.xml"
|
||
line="5"
|
||
column="12"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="UnusedResources"
|
||
message="The resource `R.dimen.mapbox_infowindow_line_width` appears to be unused"
|
||
errorLine1=" <dimen name="mapbox_infowindow_line_width">1.5dp</dimen>"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/res/values/dimens.xml"
|
||
line="6"
|
||
column="12"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="UnusedResources"
|
||
message="The resource `R.dimen.mapbox_attribution_icon_left_padding` appears to be unused"
|
||
errorLine1=" <dimen name="mapbox_attribution_icon_left_padding">@dimen/mapbox_two_dp</dimen>"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/res/values/dimens.xml"
|
||
line="7"
|
||
column="12"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="UnusedResources"
|
||
message="The resource `R.dimen.mapbox_attribution_icon_top_padding` appears to be unused"
|
||
errorLine1=" <dimen name="mapbox_attribution_icon_top_padding">@dimen/mapbox_two_dp</dimen>"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/res/values/dimens.xml"
|
||
line="8"
|
||
column="12"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="UnusedResources"
|
||
message="The resource `R.dimen.mapbox_attribution_icon_right_padding` appears to be unused"
|
||
errorLine1=" <dimen name="mapbox_attribution_icon_right_padding">@dimen/mapbox_two_dp</dimen>"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/res/values/dimens.xml"
|
||
line="9"
|
||
column="12"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="UnusedResources"
|
||
message="The resource `R.dimen.mapbox_attribution_icon_bottom_padding` appears to be unused"
|
||
errorLine1=" <dimen name="mapbox_attribution_icon_bottom_padding">@dimen/mapbox_two_dp</dimen>"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/res/values/dimens.xml"
|
||
line="10"
|
||
column="12"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="UnusedResources"
|
||
message="The resource `R.dimen.mapbox_two_dp` appears to be unused"
|
||
errorLine1=" <dimen name="mapbox_two_dp">2dp</dimen>"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/res/values/dimens.xml"
|
||
line="11"
|
||
column="12"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="UnusedResources"
|
||
message="The resource `R.dimen.mapbox_ten_dp` appears to be unused"
|
||
errorLine1=" <dimen name="mapbox_ten_dp">10dp</dimen>"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/res/values/dimens.xml"
|
||
line="14"
|
||
column="12"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="UnusedResources"
|
||
message="The resource `R.dimen.mapbox_sixteen_dp` appears to be unused"
|
||
errorLine1=" <dimen name="mapbox_sixteen_dp">16dp</dimen>"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/res/values/dimens.xml"
|
||
line="15"
|
||
column="12"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="UnusedResources"
|
||
message="The resource `R.drawable.mapbox_infowindow_icon_bg` appears to be unused">
|
||
<location
|
||
file="src/main/res/drawable-xxxhdpi/mapbox_infowindow_icon_bg.9.png"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="UnusedResources"
|
||
message="The resource `R.color.mapbox_material_bg_selector` appears to be unused"
|
||
errorLine1="<selector xmlns:android="http://schemas.android.com/apk/res/android">"
|
||
errorLine2="^">
|
||
<location
|
||
file="src/main/res/color/mapbox_material_bg_selector.xml"
|
||
line="2"
|
||
column="1"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="UnusedResources"
|
||
message="The resource `R.string.mapbox_style_outdoors` appears to be unused"
|
||
errorLine1=" <string name="mapbox_style_outdoors" translatable="false">mapbox://styles/mapbox/outdoors-v10</string>"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/res/values/strings.xml"
|
||
line="22"
|
||
column="13"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="UnusedResources"
|
||
message="The resource `R.string.mapbox_style_traffic_day` appears to be unused"
|
||
errorLine1=" <string name="mapbox_style_traffic_day" translatable="false">mapbox://styles/mapbox/traffic-day-v2</string>"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/res/values/strings.xml"
|
||
line="27"
|
||
column="13"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="UnusedResources"
|
||
message="The resource `R.string.mapbox_style_traffic_night` appears to be unused"
|
||
errorLine1=" <string name="mapbox_style_traffic_night" translatable="false">mapbox://styles/mapbox/traffic-night-v2</string>"
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/res/values/strings.xml"
|
||
line="28"
|
||
column="13"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="UnusedIds"
|
||
message="The resource `R.id.infowindow_subdescription` appears to be unused"
|
||
errorLine1=" android:id="@+id/infowindow_subdescription""
|
||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||
<location
|
||
file="src/main/res/layout/mapbox_infowindow_content.xml"
|
||
line="43"
|
||
column="9"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="TypographyQuotes"
|
||
message="Replace straight quotes ('') with directional quotes (‘’, &#8216; and &#8217;) ?"
|
||
errorLine1=" <string name="mapbox_attributionTelemetryMessage">Estàs ajudant a millorar els mapes d\'OpenStreetMap i de Mapbox aportant dades d\'ús anònimes.</string>"
|
||
errorLine2=" ^">
|
||
<location
|
||
file="src/main/res/values-ca/strings.xml"
|
||
line="9"
|
||
column="55"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="IconDensities"
|
||
message="Missing the following drawables in `drawable-hdpi`: mapbox_infowindow_icon_bg.9.png, mapbox_mapview_preview.jpg">
|
||
<location
|
||
file="src/main/res/drawable-hdpi"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="IconDensities"
|
||
message="Missing the following drawables in `drawable-mdpi`: mapbox_infowindow_icon_bg.9.png, mapbox_mapview_preview.jpg">
|
||
<location
|
||
file="src/main/res/drawable-mdpi"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="IconDensities"
|
||
message="Missing the following drawables in `drawable-xhdpi`: mapbox_infowindow_icon_bg.9.png, mapbox_mapview_preview.jpg">
|
||
<location
|
||
file="src/main/res/drawable-xhdpi"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="IconDensities"
|
||
message="Missing the following drawables in `drawable-xxhdpi`: mapbox_infowindow_icon_bg.9.png (found in drawable-xxxhdpi)">
|
||
<location
|
||
file="src/main/res/drawable-xxhdpi"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="SelectableText"
|
||
message="Consider making the text value selectable by specifying `android:textIsSelectable="true"`"
|
||
errorLine1="<TextView"
|
||
errorLine2="^">
|
||
<location
|
||
file="src/main/res/layout/mapbox_attribution_list_item.xml"
|
||
line="2"
|
||
column="1"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="SelectableText"
|
||
message="Consider making the text value selectable by specifying `android:textIsSelectable="true"`"
|
||
errorLine1=" <TextView"
|
||
errorLine2=" ^">
|
||
<location
|
||
file="src/main/res/layout/mapbox_infowindow_content.xml"
|
||
line="21"
|
||
column="5"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="SelectableText"
|
||
message="Consider making the text value selectable by specifying `android:textIsSelectable="true"`"
|
||
errorLine1=" <TextView"
|
||
errorLine2=" ^">
|
||
<location
|
||
file="src/main/res/layout/mapbox_infowindow_content.xml"
|
||
line="31"
|
||
column="5"/>
|
||
</issue>
|
||
|
||
<issue
|
||
id="ContentDescription"
|
||
message="[Accessibility] Missing `contentDescription` attribute on image"
|
||
errorLine1="<ImageView xmlns:android="http://schemas.android.com/apk/res/android""
|
||
errorLine2="^">
|
||
<location
|
||
file="src/main/res/layout/mapbox_view_image_marker.xml"
|
||
line="2"
|
||
column="1"/>
|
||
</issue>
|
||
|
||
</issues>
|