Don't clean up wallpaper

pull/137/head
FongMi 3 years ago
parent d927a1b759
commit 2b53b8a377
  1. 10
      app/src/main/java/com/fongmi/android/tv/utils/FileUtil.java

@ -44,6 +44,14 @@ public class FileUtil {
return new File(getRootPath() + File.separator + path);
}
public static File getFilesDir() {
return App.get().getFilesDir();
}
public static File getFilesFile(String fileName) {
return new File(getFilesDir(), fileName);
}
public static File getCacheDir() {
return App.get().getCacheDir();
}
@ -65,7 +73,7 @@ public class FileUtil {
}
public static File getWall(int index) {
return getCacheFile("wallpaper_" + index);
return getFilesFile("wallpaper_" + index);
}
public static File getLocal(String path) {

Loading…
Cancel
Save