diff options
Diffstat (limited to 'src/com/android/dialer/filterednumber/BlockedNumberAdapter.java')
-rw-r--r-- | src/com/android/dialer/filterednumber/BlockedNumberAdapter.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/com/android/dialer/filterednumber/BlockedNumberAdapter.java b/src/com/android/dialer/filterednumber/BlockedNumberAdapter.java index 6cd99c6b8..7777aeb71 100644 --- a/src/com/android/dialer/filterednumber/BlockedNumberAdapter.java +++ b/src/com/android/dialer/filterednumber/BlockedNumberAdapter.java @@ -64,7 +64,7 @@ public class BlockedNumberAdapter extends NumberAdapter { normalizedNumber, number, countryIso, - null, + number, R.id.blocked_number_fragment, getFragmentManager(), null /* callback */); @@ -73,4 +73,10 @@ public class BlockedNumberAdapter extends NumberAdapter { updateView(view, number, countryIso); } + + @Override + public boolean isEmpty() { + // Always return false, so that the header with blocking-related options always shows. + return false; + } } |