Change String -> CharSequence to make compatible
This commit is contained in:
parent
dd69d192e1
commit
323cb915d6
13 changed files with 13 additions and 13 deletions
|
@ -56,7 +56,7 @@ public class AccessibilityPlugin extends OsmandPlugin {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
public CharSequence getDescription() {
|
||||
return app.getString(R.string.osmand_accessibility_description);
|
||||
}
|
||||
|
||||
|
|
|
@ -100,7 +100,7 @@ public class CustomOsmandPlugin extends OsmandPlugin {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
public CharSequence getDescription() {
|
||||
String description = JsonUtils.getLocalizedResFromMap(app, descriptions, null);
|
||||
return description != null ? Html.fromHtml(description) : null;
|
||||
}
|
||||
|
|
|
@ -94,7 +94,7 @@ public abstract class OsmandPlugin {
|
|||
|
||||
public abstract String getName();
|
||||
|
||||
public abstract String getDescription();
|
||||
public abstract CharSequence getDescription();
|
||||
|
||||
@Nullable
|
||||
public Drawable getAssetResourceImage() {
|
||||
|
|
|
@ -581,7 +581,7 @@ public class AudioVideoNotesPlugin extends OsmandPlugin {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
public CharSequence getDescription() {
|
||||
return app.getString(R.string.audionotes_plugin_description);
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ public class OsmandDevelopmentPlugin extends OsmandPlugin {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
public CharSequence getDescription() {
|
||||
return app.getString(R.string.osmand_development_plugin_description);
|
||||
}
|
||||
|
||||
|
|
|
@ -83,7 +83,7 @@ public class MapillaryPlugin extends OsmandPlugin {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
public CharSequence getDescription() {
|
||||
return app.getString(R.string.plugin_mapillary_descr);
|
||||
}
|
||||
|
||||
|
|
|
@ -117,7 +117,7 @@ public class OsmandMonitoringPlugin extends OsmandPlugin {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
public CharSequence getDescription() {
|
||||
return app.getString(R.string.record_plugin_description);
|
||||
}
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ public class NauticalMapsPlugin extends OsmandPlugin {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
public CharSequence getDescription() {
|
||||
return app.getString(net.osmand.plus.R.string.plugin_nautical_descr);
|
||||
}
|
||||
|
||||
|
|
|
@ -378,7 +378,7 @@ public class OsmEditingPlugin extends OsmandPlugin {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
public CharSequence getDescription() {
|
||||
return app.getString(R.string.osm_editing_plugin_description);
|
||||
}
|
||||
|
||||
|
|
|
@ -168,7 +168,7 @@ public class ParkingPositionPlugin extends OsmandPlugin {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
public CharSequence getDescription() {
|
||||
return app.getString(R.string.osmand_parking_plugin_description);
|
||||
}
|
||||
|
||||
|
|
|
@ -89,7 +89,7 @@ public class OsmandRasterMapsPlugin extends OsmandPlugin {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
public CharSequence getDescription() {
|
||||
return app.getString(R.string.osmand_rastermaps_plugin_description);
|
||||
}
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ public class SkiMapsPlugin extends OsmandPlugin {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
public CharSequence getDescription() {
|
||||
return app.getString(net.osmand.plus.R.string.plugin_ski_descr);
|
||||
}
|
||||
|
||||
|
|
|
@ -119,7 +119,7 @@ public class SRTMPlugin extends OsmandPlugin {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
public CharSequence getDescription() {
|
||||
return app.getString(R.string.srtm_plugin_description);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue