From 0d0afb36ac53cc58f2674d2571c8db6cd75d8cbb Mon Sep 17 00:00:00 2001 From: calderwoodra Date: Fri, 13 Apr 2018 14:40:03 -0700 Subject: Animate duo disclosure dismissal. Test: tap PiperOrigin-RevId: 192825959 Change-Id: I814537b08d9afd678c1cb88e6012e60e5511b6bb --- java/com/android/dialer/calllog/ui/NewCallLogAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java') diff --git a/java/com/android/dialer/calllog/ui/NewCallLogAdapter.java b/java/com/android/dialer/calllog/ui/NewCallLogAdapter.java index 22163774e..49f087657 100644 --- a/java/com/android/dialer/calllog/ui/NewCallLogAdapter.java +++ b/java/com/android/dialer/calllog/ui/NewCallLogAdapter.java @@ -212,8 +212,8 @@ final class NewCallLogAdapter extends RecyclerView.Adapter { .edit() .putBoolean(SHARED_PREF_KEY_DUO_DISCLOSURE_DISMISSED, true) .apply(); + notifyItemRemoved(duoDisclosureCardPosition); setCardAndHeaderPositions(); - notifyDataSetChanged(); }); break; case RowType.HEADER_TODAY: -- cgit v1.2.3