diff options
author | Andrew Lee <anwlee@google.com> | 2015-10-29 17:40:27 -0700 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2015-10-30 16:54:07 -0700 |
commit | 97e333cf52c7fd2cf34429f89fe28cb33f1b34e2 (patch) | |
tree | 1f23ed6526c20834b9a450106ae77cc98d2855e5 /src/com/android/dialer/calllog/CallLogListItemViewHolder.java | |
parent | 72579fe971e0a0c3711438e8852d9659f48101c8 (diff) |
Fix checking for invalid numbers.
Some of the checking for invalid numbers was broken by code
cleanups yesterday, and blocking of numbers which can't be normalized
had been allowed (which is no good). Fixing this, by unifying checks
for whether or not a number can be blocked.
Bug: 25343277
Change-Id: Ia631a3e53e3f9ed58e173055a5e18086d95c9d02
Diffstat (limited to 'src/com/android/dialer/calllog/CallLogListItemViewHolder.java')
-rw-r--r-- | src/com/android/dialer/calllog/CallLogListItemViewHolder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dialer/calllog/CallLogListItemViewHolder.java b/src/com/android/dialer/calllog/CallLogListItemViewHolder.java index c6337bc67..28e406fd5 100644 --- a/src/com/android/dialer/calllog/CallLogListItemViewHolder.java +++ b/src/com/android/dialer/calllog/CallLogListItemViewHolder.java @@ -303,7 +303,7 @@ public final class CallLogListItemViewHolder extends RecyclerView.ViewHolder .setOnMenuItemClickListener(this); } - if (FilteredNumbersUtil.canBlockNumber(mContext, number)) { + if (FilteredNumbersUtil.canBlockNumber(mContext, number, countryIso)) { mFilteredNumberAsyncQueryHandler.startBlockedQuery( new FilteredNumberAsyncQueryHandler.OnCheckBlockedListener() { @Override |