Remove unused parameter
This commit is contained in:
parent
7b53b87633
commit
f532a3f4a3
4 changed files with 3 additions and 5 deletions
|
@ -19,7 +19,7 @@ public class ContextMenuButtonsParams implements Parcelable {
|
|||
|
||||
private List<String> pointsIds = new ArrayList<>();
|
||||
|
||||
public ContextMenuButtonsParams(AContextMenuButton leftButton, AContextMenuButton rightButton, String id, String appPackage, String layerId, boolean followOpenedPoint, long callbackId, List<String> pointsIds) {
|
||||
public ContextMenuButtonsParams(AContextMenuButton leftButton, AContextMenuButton rightButton, String id, String appPackage, String layerId, long callbackId, List<String> pointsIds) {
|
||||
this.leftButton = leftButton;
|
||||
this.rightButton = rightButton;
|
||||
this.id = id;
|
||||
|
|
|
@ -1173,7 +1173,7 @@ class OsmandAidlHelper(private val app: TelegramApplication) {
|
|||
if (mIOsmAndAidlInterface != null) {
|
||||
try {
|
||||
val leftButton = AContextMenuButton(buttonId, leftTextCaption, rightTextCaption, leftIconName, rightIconName, needColorizeIcon, enabled)
|
||||
val params = ContextMenuButtonsParams(leftButton, null, paramsId, appPackage, MAP_LAYER_ID, true, osmandContextMenuCallbackId, mutableListOf())
|
||||
val params = ContextMenuButtonsParams(leftButton, null, paramsId, appPackage, MAP_LAYER_ID, osmandContextMenuCallbackId, mutableListOf())
|
||||
osmandContextMenuCallbackId = mIOsmAndAidlInterface!!.addContextMenuButtons(params, mIOsmAndAidlCallback)
|
||||
return osmandContextMenuCallbackId >= 0
|
||||
} catch (e: RemoteException) {
|
||||
|
|
|
@ -716,7 +716,6 @@ interface IOsmAndAidlInterface {
|
|||
* @param id (String) - button id;
|
||||
* @param appPackage (String) - clinet's app package name
|
||||
* @param layerId (String) - id of Osmand's map layer
|
||||
* @param followOpenedPoint (boolean) - if enabled, view will follow opened point;
|
||||
* @param callbackId (long) - {@link IOsmAndAidlCallback} id
|
||||
* @param pointsIds (List<String>) - list of point Ids to which this rules applies to.
|
||||
*
|
||||
|
@ -755,7 +754,6 @@ interface IOsmAndAidlInterface {
|
|||
* @param id (String) - button id;
|
||||
* @param appPackage (String) - clinet's app package name
|
||||
* @param layerId (String) - id of Osmand's map layer
|
||||
* @param followOpenedPoint (boolean) - if enabled, view will follow opened point;
|
||||
* @param callbackId (long) - {@link IOsmAndAidlCallback} id
|
||||
* @param pointsIds (List<String>) - list of point Ids to which this rules applies to.
|
||||
*
|
||||
|
|
|
@ -19,7 +19,7 @@ public class ContextMenuButtonsParams implements Parcelable {
|
|||
|
||||
private List<String> pointsIds = new ArrayList<>();
|
||||
|
||||
public ContextMenuButtonsParams(AContextMenuButton leftButton, AContextMenuButton rightButton, String id, String appPackage, String layerId, boolean followOpenedPoint, long callbackId, List<String> pointsIds) {
|
||||
public ContextMenuButtonsParams(AContextMenuButton leftButton, AContextMenuButton rightButton, String id, String appPackage, String layerId, long callbackId, List<String> pointsIds) {
|
||||
this.leftButton = leftButton;
|
||||
this.rightButton = rightButton;
|
||||
this.id = id;
|
||||
|
|
Loading…
Reference in a new issue