forked from upstream-mirrors/OpenTracks
fix comment on c3ea1ef58fb3
This commit is contained in:
+4
-2
@@ -43,8 +43,10 @@ public class TrackPathPainterFactoryTest extends TrackPathPainterTestCase {
|
|||||||
Context context = getContext();
|
Context context = getContext();
|
||||||
SharedPreferences prefs = context.getSharedPreferences(
|
SharedPreferences prefs = context.getSharedPreferences(
|
||||||
Constants.SETTINGS_NAME, Context.MODE_PRIVATE);
|
Constants.SETTINGS_NAME, Context.MODE_PRIVATE);
|
||||||
if (prefs == null) { return; }
|
if (prefs == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
testTrackPathPainterFactorySpecific(context, prefs, R.string.display_track_color_value_none,
|
testTrackPathPainterFactorySpecific(context, prefs, R.string.display_track_color_value_none,
|
||||||
SingleColorTrackPathPainter.class);
|
SingleColorTrackPathPainter.class);
|
||||||
testTrackPathPainterFactorySpecific(context, prefs, R.string.display_track_color_value_fixed,
|
testTrackPathPainterFactorySpecific(context, prefs, R.string.display_track_color_value_fixed,
|
||||||
|
|||||||
Reference in New Issue
Block a user