small tweaking of installation defaults

This commit is contained in:
sonora 2015-01-18 12:45:28 +01:00
parent 13ff1b21b4
commit 2f89a993b2

View file

@ -51,8 +51,9 @@ public class ApplicationMode {
static {
ApplicationMode[] exceptPedestrianAndDefault = new ApplicationMode[] { CAR, BICYCLE, BOAT, AIRCRAFT };
ApplicationMode[] exceptAirBoat = new ApplicationMode[] { DEFAULT, CAR, BICYCLE};
ApplicationMode[] exceptAirBoat = new ApplicationMode[] { DEFAULT, CAR, BICYCLE, PEDESTRIAN };
ApplicationMode[] pedestrian = new ApplicationMode[] { PEDESTRIAN };
ApplicationMode[] pedestrianBicycle = new ApplicationMode[] { PEDESTRIAN, BICYCLE };
ApplicationMode[] all = null;
ApplicationMode[] none = new ApplicationMode[] {};
@ -69,7 +70,7 @@ public class ApplicationMode {
regWidget("speed", exceptPedestrianAndDefault);
regWidget("max_speed", CAR);
regWidget("gps_info", DEFAULT);
regWidget("altitude", BICYCLE);
regWidget("altitude", pedestrianBicycle);
// top
regWidget("compass", all);