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

Commit 31a84844 authored by Zhihai Xu's avatar Zhihai Xu Committed by Android Git Automerger
Browse files

am e69cdf84: am a98645d2: Merge "bluetooth crash caused by read phone book...

am e69cdf84: am a98645d2: Merge "bluetooth crash caused by read phone book with invalid colummn number -1" into klp-dev

* commit 'e69cdf84':
  bluetooth crash caused by read phone book with invalid colummn number -1
parents f01475d7 e69cdf84
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -509,8 +509,10 @@ public class AtPhonebook {
                }
                if (DBG && name == null) log("Caller ID lookup failed for " + number);

            } else {
            } else if (pbr.nameColumn != -1) {
                name = pbr.cursor.getString(pbr.nameColumn);
            } else {
                log("processCpbrCommand: empty name and number");
            }
            if (name == null) name = "";
            name = name.trim();