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

Commit 97b83480 authored by Matthew Xie's avatar Matthew Xie Committed by Android Git Automerger
Browse files

am ac321965: Merge "Check null condition of number before contact query" into klp-dev

* commit 'ac321965':
  Check null condition of number before contact query
parents dd9d5dfe ac321965
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -492,7 +492,7 @@ public class AtPhonebook {
            String number = pbr.cursor.getString(pbr.numberColumn);
            String name = null;
            int type = -1;
            if (pbr.nameColumn == -1) {
            if (pbr.nameColumn == -1 && number != null && number.length() > 0) {
                // try caller id lookup
                // TODO: This code is horribly inefficient. I saw it
                // take 7 seconds to process 100 missed calls.