Fixed issue 42617
[apps/osp/Gallery.git] / src / GlFileListPresentationModel.cpp
index 40ba749..df34571 100644 (file)
@@ -1619,7 +1619,7 @@ FileListPresentationModel::ClearImageCache(void)
 {
        AppLogDebug("FileListPresentationModel::ClearImageCache ++");
 
-       if(__pIconListViewCache != null && __providerId.Equals(APPCONTROL_PROVIDER_ID_IMAGE, false) == true)
+       if(__pIconListViewCache != null)
        {
                AppLogDebug("rashmi __providerId(%ls)", __providerId.GetPointer());
                bool clearThumbnailReq = true;