Rename p.2
This commit is contained in:
parent
0739829d8d
commit
7cd3e678f0
1 changed files with 4 additions and 4 deletions
|
@ -92,8 +92,8 @@ public class ExternalApiHelper {
|
|||
|
||||
public static final String API_CMD_START_GPX_REC = "start_gpx_rec";
|
||||
public static final String API_CMD_STOP_GPX_REC = "stop_gpx_rec";
|
||||
public static final String API_CMD_SAVE_CURRENT_GPX = "save_current_gpx";
|
||||
public static final String API_CMD_CLEAR_CURRENT_GPX = "clear_current_gpx";
|
||||
public static final String API_CMD_SAVE_GPX = "save_gpx";
|
||||
public static final String API_CMD_CLEAR_GPX = "clear_gpx";
|
||||
|
||||
public static final String API_CMD_SUBSCRIBE_VOICE_NOTIFICATIONS = "subscribe_voice_notifications";
|
||||
public static final int VERSION_CODE = 1;
|
||||
|
@ -556,7 +556,7 @@ public class ExternalApiHelper {
|
|||
finish = true;
|
||||
}
|
||||
resultCode = Activity.RESULT_OK;
|
||||
} else if (API_CMD_SAVE_CURRENT_GPX.equals(cmd)) {
|
||||
} else if (API_CMD_SAVE_GPX.equals(cmd)) {
|
||||
OsmandMonitoringPlugin plugin = OsmandPlugin.getEnabledPlugin(OsmandMonitoringPlugin.class);
|
||||
if (plugin == null) {
|
||||
resultCode = RESULT_CODE_ERROR_PLUGIN_INACTIVE;
|
||||
|
@ -568,7 +568,7 @@ public class ExternalApiHelper {
|
|||
finish = true;
|
||||
}
|
||||
resultCode = Activity.RESULT_OK;
|
||||
} else if (API_CMD_CLEAR_CURRENT_GPX.equals(cmd)) {
|
||||
} else if (API_CMD_CLEAR_GPX.equals(cmd)) {
|
||||
OsmandMonitoringPlugin plugin = OsmandPlugin.getEnabledPlugin(OsmandMonitoringPlugin.class);
|
||||
if (plugin == null) {
|
||||
resultCode = RESULT_CODE_ERROR_PLUGIN_INACTIVE;
|
||||
|
|
Loading…
Reference in a new issue