From e48f5e28218ced44d4c58ccb6a3d82ec35b8effa Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 3 Dec 2017 23:46:46 +0100 Subject: [PATCH] fix #54, show proper apk file thumbnail --- .../filemanager/adapters/ItemsAdapter.kt | 20 ++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/adapters/ItemsAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/adapters/ItemsAdapter.kt index 703bcddb..422ea9df 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/adapters/ItemsAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/adapters/ItemsAdapter.kt @@ -3,6 +3,7 @@ package com.simplemobiletools.filemanager.adapters import android.content.ClipData import android.content.ClipboardManager import android.content.Context +import android.content.pm.PackageManager import android.graphics.drawable.Drawable import android.net.Uri import android.view.Menu @@ -394,14 +395,27 @@ class ItemsAdapter(activity: SimpleActivity, var fileDirItems: MutableList