Code review comments

This commit is contained in:
Matthew Simmons
2010-11-01 15:21:33 -04:00
parent a2f46821f5
commit b2907226bf
4 changed files with 15 additions and 12 deletions
@@ -60,13 +60,7 @@ class DefaultTrackNameFactory {
protected boolean useTimestampTrackName() {
SharedPreferences prefs =
context.getSharedPreferences(MyTracksSettings.SETTINGS_NAME, 0);
boolean useTimestamp = false;
if (prefs != null) {
useTimestamp = prefs.getBoolean(
context.getString(R.string.timestamp_track_name_key), true);
}
return useTimestamp;
return prefs.getBoolean(
context.getString(R.string.timestamp_track_name_key), true);
}
}