altosui: Sanity check values from device configuration
authorKeith Packard <keithp@keithp.com>
Wed, 28 Mar 2012 05:54:17 +0000 (22:54 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 28 Mar 2012 05:54:17 +0000 (22:54 -0700)
commitb98f75dbcccd40c8cbf32c3bfd21bd6f5648b861
treeba7cdf3caa5b8ff2202514dd5e78d9803dfbd2bb
parentb6c7ae2c1f8cba7351cd139c49322280d9d3af47
altosui: Sanity check values from device configuration

If someone has down-graded and re up-graded the firmware, the config
entries may be garbage. Sanity check them to avoid crashing the UI.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosConfig.java
altosui/AltosConfigData.java
altosui/AltosConfigUI.java