Control tiff file
authorHyukSoon Choi <hs619.choi@samsung.com>
Fri, 12 Apr 2013 06:48:58 +0000 (15:48 +0900)
committerHyukSoon Choi <hs619.choi@samsung.com>
Fri, 12 Apr 2013 06:48:58 +0000 (15:48 +0900)
Change-Id: I9aac1ddc873639ff1dd5f5f5af82d99b61bd234b
Signed-off-by: HyukSoon Choi <hs619.choi@samsung.com>
src/GlThumbnailProvider.cpp

index 82a3146..89061c7 100644 (file)
@@ -326,7 +326,13 @@ ThumbnailProvider::GetThumbnailInfoN(const ContentId& contentId) const
 
                if (pContentInfo != null)
                {
 
                if (pContentInfo != null)
                {
-                       pBitmap = pContentInfo->GetThumbnailN();
+                       String path = pContentInfo->GetContentPath();
+                       if (path.EndsWith(L"tif") != true
+                               && path.EndsWith(L"tiff") != true
+                               && path.EndsWith(L"wbmp") != true)
+                       {
+                               pBitmap = pContentInfo->GetThumbnailN();
+                       }
 
                        if (pBitmap == null)
                        {
 
                        if (pBitmap == null)
                        {