diff options
Diffstat (limited to 'java/com/android/dialer/contactsfragment')
-rw-r--r-- | java/com/android/dialer/contactsfragment/ContactsFragment.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/com/android/dialer/contactsfragment/ContactsFragment.java b/java/com/android/dialer/contactsfragment/ContactsFragment.java index 41fa8f9c5..50c9fe82c 100644 --- a/java/com/android/dialer/contactsfragment/ContactsFragment.java +++ b/java/com/android/dialer/contactsfragment/ContactsFragment.java @@ -122,8 +122,10 @@ public class ContactsFragment extends Fragment emptyContentView.setDescription(R.string.all_contacts_empty); emptyContentView.setActionLabel(R.string.all_contacts_empty_add_contact_action); emptyContentView.setVisibility(View.VISIBLE); + recyclerView.setVisibility(View.GONE); } else { emptyContentView.setVisibility(View.GONE); + recyclerView.setVisibility(View.VISIBLE); adapter = new ContactsAdapter(getContext(), cursor); manager = new LinearLayoutManager(getContext()) { |