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();
|
||||
SharedPreferences prefs = context.getSharedPreferences(
|
||||
Constants.SETTINGS_NAME, Context.MODE_PRIVATE);
|
||||
if (prefs == null) { return; }
|
||||
|
||||
if (prefs == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
testTrackPathPainterFactorySpecific(context, prefs, R.string.display_track_color_value_none,
|
||||
SingleColorTrackPathPainter.class);
|
||||
testTrackPathPainterFactorySpecific(context, prefs, R.string.display_track_color_value_fixed,
|
||||
|
||||
Reference in New Issue
Block a user