From 90b78aaf4b6b08dc28421375c9e4a4b3066de436 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 29 Oct 2021 08:42:18 +0200 Subject: [PATCH] Added S/MIME file type hint --- .../faircode/email/FragmentOptionsEncryption.java | 1 + .../res/layout/fragment_options_encryption.xml | 14 +++++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsEncryption.java b/app/src/main/java/eu/faircode/email/FragmentOptionsEncryption.java index 42d447ff36..73e625c781 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsEncryption.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsEncryption.java @@ -325,6 +325,7 @@ public class FragmentOptionsEncryption extends FragmentBase implements SharedPre btnImportKey.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { + // https://pki-tutorial.readthedocs.io/en/latest/mime.html Context context = v.getContext(); PackageManager pm = context.getPackageManager(); Intent open = new Intent(Intent.ACTION_GET_CONTENT); diff --git a/app/src/main/res/layout/fragment_options_encryption.xml b/app/src/main/res/layout/fragment_options_encryption.xml index f3f7c07b58..9f8a65a7b3 100644 --- a/app/src/main/res/layout/fragment_options_encryption.xml +++ b/app/src/main/res/layout/fragment_options_encryption.xml @@ -355,6 +355,18 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/btnManageCertificates" /> + +