summaryrefslogtreecommitdiffstats
path: root/src/com/android/dreams/phototable/PhotoSource.java
diff options
context:
space:
mode:
authorChris Wren <cwren@android.com>2012-10-01 15:59:01 -0400
committerChris Wren <cwren@android.com>2012-10-01 16:31:36 -0400
commitd9b659aa5dfa4a3af96582ae49ba9ae145854a84 (patch)
tree7cca09ba4fbec7473c3950e6b5affdc9b9403939 /src/com/android/dreams/phototable/PhotoSource.java
parentc225e17265676fe3a6c8848e54f4859492df9d1a (diff)
downloadandroid_packages_screensavers_PhotoTable-d9b659aa5dfa4a3af96582ae49ba9ae145854a84.tar.gz
android_packages_screensavers_PhotoTable-d9b659aa5dfa4a3af96582ae49ba9ae145854a84.tar.bz2
android_packages_screensavers_PhotoTable-d9b659aa5dfa4a3af96582ae49ba9ae145854a84.zip
find the disappearing settings, plus some layout.
Bug: 7242287 Bug: 7194713 Change-Id: I362c2ffa0d4cbc3be45d14ede1de5dbf39ec4d7f
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>();