Bug #2167

Settings does not validate data leading to crashes later

Added by vitriolix about 4 years ago.

Status:NewStart date:10/21/2013
Priority:UrgentDue 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

log.txt Magnifier (146 KB) vitriolix, 10/21/2013 06:23 pm

Also available in: Atom PDF