Add download origin image

This commit is contained in:
seven332 committed 2016-03-24 20:51:05 +08:00
1 parent 43df2a5887
commit bbceb4e493
8 files changed
+73 -19

No files matched your search

@@ -540,6 +540,17 @@ public class Settings {
putIntToStr(KEY_PRELOAD_IMAGE, value);
}
private static final String KEY_DOWNLOAD_ORIGIN_IMAGE = "download_origin_image";
private static final boolean DEFAULT_DOWNLOAD_ORIGIN_IMAGE = false;
public static boolean getDownloadOriginImage() {
return getBoolean(KEY_DOWNLOAD_ORIGIN_IMAGE, DEFAULT_DOWNLOAD_ORIGIN_IMAGE);
}
public static void putDownloadOriginImage(boolean value) {
putBoolean(KEY_DOWNLOAD_ORIGIN_IMAGE, value);
}
/********************
****** Favorites
********************/