summaryrefslogtreecommitdiff
path: root/src/com/android/dreams/phototable/PhotoSource.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/dreams/phototable/PhotoSource.java')
-rw-r--r--src/com/android/dreams/phototable/PhotoSource.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/dreams/phototable/PhotoSource.java b/src/com/android/dreams/phototable/PhotoSource.java
index 366ce20..06dd816 100644
--- a/src/com/android/dreams/phototable/PhotoSource.java
+++ b/src/com/android/dreams/phototable/PhotoSource.java
@@ -79,7 +79,7 @@ public abstract class PhotoSource {
protected final Context mContext;
protected final Resources mResources;
protected final Random mRNG;
- protected final SharedPreferences mSettings;
+ protected final AlbumSettings mSettings;
protected final ContentResolver mResolver;
protected String mSourceName;
@@ -91,7 +91,7 @@ public abstract class PhotoSource {
public PhotoSource(Context context, SharedPreferences settings, PhotoSource fallbackSource) {
mSourceName = TAG;
mContext = context;
- mSettings = settings;
+ mSettings = AlbumSettings.getAlbumSettings(settings);
mResolver = mContext.getContentResolver();
mResources = context.getResources();
mImageQueue = new LinkedList<ImageData>();