diff --git a/res/values/config.xml b/res/values/config.xml deleted file mode 100644 index bf2857a..0000000 --- a/res/values/config.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - false - diff --git a/res/values/strings.xml b/res/values/strings.xml index 1e915b3..cec618d 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -18,8 +18,7 @@ Updater Updater - /cache/ota_package/ - /data/ota_package/ + /data/ota_package/ https://download.lineageos.org/api Verification failed diff --git a/src/org/lineageos/updater/misc/Utils.java b/src/org/lineageos/updater/misc/Utils.java index 04f7cac..0eb76e5 100644 --- a/src/org/lineageos/updater/misc/Utils.java +++ b/src/org/lineageos/updater/misc/Utils.java @@ -49,9 +49,7 @@ public class Utils { } public static File getDownloadPath(Context context) { - boolean useCache = context.getResources().getBoolean(R.bool.download_in_cache); - int id = useCache ? R.string.download_path_cache : R.string.download_path_data; - return new File(context.getString(id)); + return new File(context.getString(R.string.download_path)); } public static File getCachedUpdateList(Context context) {