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

Commit 594eb9b3 authored by Julian Mancini's avatar Julian Mancini Committed by Android (Google) Code Review
Browse files

Merge "Allow PDF Thumbnails off of Debuggable builds"

parents 5494361c 221034e7
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;
        }