Moved sharedPreferences accessor to PreferenceUtils.

This commit is contained in:
Dennis Guse
2019-08-06 18:18:25 +02:00
parent 2a145b4791
commit 7ba771c417
11 changed files with 23 additions and 22 deletions
@@ -193,7 +193,7 @@ public class TrackDetailActivity extends AbstractTrackActivity implements Choose
contentProviderUtils = ContentProviderUtils.Factory.get(this);
handleIntent(getIntent());
sharedPreferences = getSharedPreferences(Constants.SETTINGS_NAME, Context.MODE_PRIVATE);
sharedPreferences = PreferencesUtils.getSharedPreferences(this);
trackRecordingServiceConnection = new TrackRecordingServiceConnection(this, bindChangedCallback);
trackDataHub = TrackDataHub.newInstance(this);