private static File createReserveDiskCacheDir ( Context context ) { File cacheDir = StorageUtils . getCacheDirectory ( context , false ) ; File individualDir = new File ( cacheDir , "uil-images" ) ; if ( individualDir . exists ( ) || individualDir . mkdir ( ) ) { cacheDir = individualDir ; } return cacheDir ; }
Creates reserve disk cache folder which will be used if primary disk cache folder becomes unavailable