Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 221034e7 authored by Julian Mancini's avatar Julian Mancini
Browse files

Allow PDF Thumbnails off of Debuggable builds

Bug: 63822148
Test: In place
Change-Id: I3798890a8b7748cb327c8318b6ac3be67a00221e
parent 96fac11d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -468,8 +468,7 @@ public abstract class FileSystemProvider extends DocumentsProvider {
        final String displayName = file.getName();
        // As of right now, we aren't sure on the performance affect of loading all PDF Thumbnails
        // Until a solution is found, it will be behind a debuggable flag.
        if (mimeType.startsWith("image/")
                || (mimeType.equals(MIMETYPE_PDF) && Build.IS_DEBUGGABLE)) {
        if (mimeType.startsWith("image/") || mimeType.equals(MIMETYPE_PDF)) {
            flags |= Document.FLAG_SUPPORTS_THUMBNAIL;
        }