removed final declaration

This commit is contained in:
AndyScherzinger 2016-10-26 13:36:25 +02:00
parent e3bd1cecb1
commit e879517481
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -112,15 +112,10 @@ public class FolderSyncAdapter extends SectionedRecyclerViewAdapter<FolderSyncAd
File file = new File(mSyncFolderItems.get(section).getFilePaths().get(relativePosition));
/** Cancellation needs do be checked and done before changing the drawable in fileIcon, or
* {@link ThumbnailsCacheManager#cancelPotentialThumbnailWork} will NEVER cancel any task.
**/
boolean allowedToCreateNewThumbnail = (ThumbnailsCacheManager.cancelPotentialThumbnailWork(file, holder.image));
final ThumbnailsCacheManager.MediaThumbnailGenerationTask task =
ThumbnailsCacheManager.MediaThumbnailGenerationTask task =
new ThumbnailsCacheManager.MediaThumbnailGenerationTask(holder.image);
final ThumbnailsCacheManager.AsyncMediaThumbnailDrawable asyncDrawable =
ThumbnailsCacheManager.AsyncMediaThumbnailDrawable asyncDrawable =
new ThumbnailsCacheManager.AsyncMediaThumbnailDrawable(
mContext.getResources(),
ThumbnailsCacheManager.mDefaultImg,