diff options
author | Sarmad Hashmi <mhashmi@google.com> | 2016-04-04 12:39:29 -0700 |
---|---|---|
committer | Sarmad Hashmi <mhashmi@google.com> | 2016-04-04 12:39:29 -0700 |
commit | ef056fbe224fa26f8627b532a57387be77766725 (patch) | |
tree | 454418f898cae497e9eabbed2f18eaa95dc36163 /src/com/android | |
parent | d780c458eb602c22ed5542966d05039c0cc7673c (diff) |
Fix bug where private numbers in call log are blank.
Before this fix, the isBlockedNumber method was returning false without
calling the listener/callback. This caused the CallLogAdapter to not
render items where the call was from an unknown or private number. This
fixes the issue by calling the listener.
Change-Id: I6283a71db872ef62586faacaf18d37ed368b492f
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/dialer/database/FilteredNumberAsyncQueryHandler.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/dialer/database/FilteredNumberAsyncQueryHandler.java b/src/com/android/dialer/database/FilteredNumberAsyncQueryHandler.java index 52ef49ac0..e3f8c59c4 100644 --- a/src/com/android/dialer/database/FilteredNumberAsyncQueryHandler.java +++ b/src/com/android/dialer/database/FilteredNumberAsyncQueryHandler.java @@ -151,6 +151,7 @@ public class FilteredNumberAsyncQueryHandler extends AsyncQueryHandler { final OnCheckBlockedListener listener, String number, String countryIso) { final String e164Number = PhoneNumberUtils.formatNumberToE164(number, countryIso); if (TextUtils.isEmpty(e164Number)) { + listener.onCheckComplete(null); return false; } |