Closed GoogleCodeExporter closed 9 years ago
Meet error when execute following two statements in
DynamicSpeedTrackPathDescriptor:
...
line:55
speedMargin = Integer.parseInt(prefs.getString(
context.getString(R.string.track_color_mode_dynamic_speed_variation_key), "25"));
...
...
line:93
speedMargin =
Integer.parseInt(
prefs.getString(
context.getString(R.string.track_color_mode_dynamic_speed_variation_key), "25"));
...
Original comment by youtaol@google.com
on 15 Dec 2011 at 8:29
You can reproduce this bug by going to
menu->Settings->Display->Color mode->Dynamic thresholds
Percentage->enter an empty string
We should check that the value is not "" before parsing it as an integer.
Original comment by jshih@google.com
on 22 Dec 2011 at 1:20
Hi Sandor:
Can you review
http://code.google.com/r/jshih-mytracks2/source/detail?r=9399fc25c7ce38ea4177795
181cea29a9f368e0c
Original comment by jshih@google.com
on 22 Dec 2011 at 1:58
Original comment by jshih@google.com
on 23 Dec 2011 at 8:30
Original issue reported on code.google.com by
youtaol@google.com
on 15 Dec 2011 at 8:23