add logging speed filter "> 0", workaround for GPS chipset motion detection,

This commit is contained in:
sonora 2017-06-28 07:29:39 +02:00
parent 72d16f3877
commit afa35a83ae

View file

@ -104,9 +104,10 @@ public class SettingsMonitoringActivity extends SettingsBaseActivity {
}
cat.addPreference(createListPreference(settings.SAVE_TRACK_PRECISION, names, floatValues,
R.string.save_track_precision, R.string.save_track_precision_descr));
floatValues = new Float[] {0.f, 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f};
floatValues = new Float[] {0.f, 0.000001f, 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f};
names = new String[floatValues.length];
names[0] = getString(R.string.shared_string_not_selected);
names[1] = "> 0";
for(int i = 1; i < floatValues.length; i++) {
names[i] = floatValues[i].intValue() + " " + getString(R.string.km_h);
floatValues[i] = floatValues[i] / 3.6f;