From b2baa985655aa13499cb33f440b9041bdccf86a7 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 25 Aug 2021 07:47:35 +0200 Subject: [PATCH] Small improvement --- app/src/main/java/eu/faircode/email/FragmentGmail.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentGmail.java b/app/src/main/java/eu/faircode/email/FragmentGmail.java index 9b7ce2ed0b..82e2c8d56b 100644 --- a/app/src/main/java/eu/faircode/email/FragmentGmail.java +++ b/app/src/main/java/eu/faircode/email/FragmentGmail.java @@ -172,7 +172,7 @@ public class FragmentGmail extends FragmentBase { PackageManager pm = getContext().getPackageManager(); if (intent.resolveActivity(pm) == null) { // system whitelisted Log.e("newChooseAccountIntent unavailable"); - throw new IllegalArgumentException(getString(R.string.title_no_viewer, intent)); + Helper.reportNoViewer(getContext(), intent); } startActivityForResult(intent, ActivitySetup.REQUEST_CHOOSE_ACCOUNT); } catch (Throwable ex) {