Update map settings to display the current value

in the summary text.
This commit is contained in:
Jimmy Shih
2012-09-25 13:06:40 -07:00
parent 40c5d14eb4
commit eb49ee7939
5 changed files with 36 additions and 35 deletions
@@ -39,8 +39,8 @@ public class TrackPathPainterFactory {
* @param context the context
*/
public static TrackPathPainter getTrackPathPainter(Context context) {
String trackColorMode = PreferencesUtils.getString(context, R.string.track_color_mode_key,
context.getString(R.string.settings_map_track_color_mode_single_value));
String trackColorMode = PreferencesUtils.getString(
context, R.string.track_color_mode_key, PreferencesUtils.TRACK_COLOR_MODE_DEFAULT);
Log.i(TAG, "Creating track path painter of type: " + trackColorMode);
if (context.getString(R.string.settings_map_track_color_mode_dynamic_value)