Exemple #1
0
 /**
  * Flushes the disk cache associated with this ImageCache object. Note that this includes disk
  * access so this should not be executed on the main/UI thread.
  */
 public void flush() {
   synchronized (mDiskCacheLock) {
     if (mDiskLruCache != null) {
       try {
         mDiskLruCache.flush();
       } catch (Throwable e) {
         LogUtils.e(e.getMessage(), e);
       }
     }
   }
 }