Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e239bd4 authored by Victor Chang's avatar Victor Chang Committed by android-build-merger
Browse files

[DO NOT MERGE] Fix Dialer crash loop for caller id in personal contact directory

am: 758ba199

* commit '758ba199':
  [DO NOT MERGE] Fix Dialer crash loop for caller id in personal contact directory

Change-Id: Id4b9f738f6ed57d5c5e76c17a6db427c24ff985c
parents e3947b9e 758ba199
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -224,6 +224,8 @@ public class ContactInfoHelper {
            if (cursor != null && cursor.moveToFirst()) {
                return cursor.getString(PhoneQuery.NAME_ALTERNATIVE);
            }
        } catch (IllegalArgumentException e) {
            // Avoid dialer crash when lookup key is not valid
        } finally {
            if (cursor != null) {
                cursor.close();