diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceCommunicationService.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceCommunicationService.java index ae9ff5362..123824a54 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceCommunicationService.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceCommunicationService.java @@ -433,7 +433,7 @@ public class DeviceCommunicationService extends Service { Cursor contactLookup = null; try { - contentResolver.query(uri, null, null, null, null); + contactLookup = contentResolver.query(uri, null, null, null, null); } catch (SecurityException e) { return name; }