From 1c27def6f17cbe11f2b8d786466158e8180eb244 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 21 Aug 2018 15:01:45 +0000 Subject: [PATCH] Intent.ACTION_QUICK_VIEW experiment --- .../java/eu/faircode/email/AdapterAttachment.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/AdapterAttachment.java b/app/src/main/java/eu/faircode/email/AdapterAttachment.java index 51e0850931..811e21e3f8 100644 --- a/app/src/main/java/eu/faircode/email/AdapterAttachment.java +++ b/app/src/main/java/eu/faircode/email/AdapterAttachment.java @@ -21,9 +21,11 @@ package eu.faircode.email; import android.content.Context; import android.content.Intent; +import android.content.QuickViewConstants; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.net.Uri; +import android.os.Build; import android.os.Bundle; import android.preference.PreferenceManager; import android.util.Log; @@ -147,9 +149,17 @@ public class AdapterAttachment extends RecyclerView.Adapter