Bug #2167
Settings does not validate data leading to crashes later
Status: | New | Start date: | 10/21/2013 | |
---|---|---|---|---|
Priority: | Urgent | Due date: | ||
Assignee: | vitriolix | % Done: | 0% | |
Category: | - | |||
Target version: | Beta 4 | |||
Component: |
Description
Currently most fields on the settings / preferences activity are not validated before saving to ensure the data is not malformed. This leads to crashes when users screw up the data. For instance, on use put his email address in the field for slideshow duration.
this causes a failure here:
mPhotoEssaySlideLength = Integer.parseInt(settings.getString("pslideduration", AppConstants.DEFAULT_SLIDE_DURATION