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

Commit 10464dc1 authored by Yorke Lee's avatar Yorke Lee Committed by android-build-merger
Browse files

Fix potential NPE in DefaultVoicemailNotifier

am: 52cd5fd6

* commit '52cd5fd6':
  Fix potential NPE in DefaultVoicemailNotifier
parents de4f0f53 52cd5fd6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -154,7 +154,7 @@ public class DefaultVoicemailNotifier {
                if (TextUtils.isEmpty(name)) {
                    // Look it up in the database.
                    name = mNameLookupQuery.query(newCall.number);
                    if (TextUtils.isEmpty(name)) {
                    if (TextUtils.isEmpty(name) && !TextUtils.isEmpty(newCall.number)) {
                        name = PhoneNumberUtils.formatNumber(newCall.number, newCall.countryIso);
                    }
                }