do not clear glide cache on every app exit

This commit is contained in:
Andrew Dolgov 2017-06-04 13:33:25 +03:00
parent 6feba2f5eb
commit 27118b9583
1 changed files with 0 additions and 10 deletions

View File

@ -490,16 +490,6 @@ public class MasterActivity extends OnlineActivity implements HeadlinesEventList
Date date = new Date();
if (isFinishing()) {
AsyncTask.execute(new Runnable() {
@Override
public void run() {
Glide.get(MasterActivity.this).clearDiskCache();
}
});
}
if (isFinishing() || date.getTime() - m_lastWidgetRefresh > 60*1000) {
m_lastWidgetRefresh = date.getTime();