editor.remove(getFieldKey(id, LONGITUDE_ID));
<BUG>editor.remove(getFieldKey(id, ACCURACY_ID));
editor.remove(getFieldKey(id, SPEED_ID));</BUG>
editor.remove(getFieldKey(id, TIME_ID));
editor.remove(getFieldKey(id, BEARING_ID));
<BUG>editor.commit();
}</BUG>
private String getFieldKey(String id, String field) {
return PREFIX_ID + "_" + id + "_" + field;
}

editor.remove(getFieldKey(id, LONGITUDE_ID));
editor.remove(getFieldKey(id, ACCURACY_ID));
editor.remove(getFieldKey(id, ALTITUDE_ID));
editor.remove(getFieldKey(id, SPEED_ID));
editor.remove(getFieldKey(id, TIME_ID));
editor.remove(getFieldKey(id, BEARING_ID));
editor.apply();
}
private String getFieldKey(String id, String field) {
return PREFIX_ID + "_" + id + "_" + field;
