From 37aab9a52040e9ffd0fd685d7fc4d43dfda9310d Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Wed, 21 Jun 2017 03:26:22 +0200 Subject: [PATCH] Ignore all exceptions from ContentResolver.query --- src/org/kde/kdeconnect/Helpers/ContactsHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/kde/kdeconnect/Helpers/ContactsHelper.java b/src/org/kde/kdeconnect/Helpers/ContactsHelper.java index 92a860bb..90279638 100644 --- a/src/org/kde/kdeconnect/Helpers/ContactsHelper.java +++ b/src/org/kde/kdeconnect/Helpers/ContactsHelper.java @@ -59,7 +59,7 @@ public class ContactsHelper { , PhoneLookup.ID */ }, null, null, null); - } catch (IllegalArgumentException e) { + } catch (Exception e) { return contactInfo; }