From 1c2383cb1385b634d2fbb86b2695548bc16974e6 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 13 Jun 2020 16:32:18 +0200 Subject: [PATCH] Android 11 preparations --- app/src/main/AndroidManifest.xml | 14 +++++++++----- app/src/main/java/eu/faircode/email/Helper.java | 3 ++- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 15fbe68321..8fe02c1315 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -38,11 +38,15 @@ android:required="false" /> - + + + + + + ris = pm.queryIntentActivities(view, 0); + for (ResolveInfo info : ris) { Intent intent = new Intent(); intent.setAction(ACTION_CUSTOM_TABS_CONNECTION); intent.setPackage(info.activityInfo.packageName);