Switch internal download dir to cache dir

This commit is contained in:
topjohnwu
2018-12-31 16:05:29 +08:00
parent 6d27eb7f64
commit 267868c3b0
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ public class DownloadApp {
}
private static void dlInstall(String name, ManagerDownloadListener listener) {
File apk = new File(App.self.getFilesDir(), "manager.apk");
File apk = new File(App.self.getCacheDir(), "manager.apk");
ProgressNotification progress = new ProgressNotification(name);
listener.setProgressNotification(progress);
Networking.get(Data.managerLink)