diff options
author | calderwoodra <calderwoodra@google.com> | 2018-04-13 14:40:03 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-04-13 14:59:39 -0700 |
commit | 0d0afb36ac53cc58f2674d2571c8db6cd75d8cbb (patch) | |
tree | 817ab32e60f3e9ab4e84ab65e23518b8a5df722c | |
parent | cc26b460d8c4b1ff19f42c84e1d4d6e4954ac0d4 (diff) |
Animate duo disclosure dismissal.
Test: tap
PiperOrigin-RevId: 192825959
Change-Id: I814537b08d9afd678c1cb88e6012e60e5511b6bb
-rw-r--r-- | java/com/android/dialer/calllog/ui/NewCallLogAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<ViewHolder> { .edit() .putBoolean(SHARED_PREF_KEY_DUO_DISCLOSURE_DISMISSED, true) .apply(); + notifyItemRemoved(duoDisclosureCardPosition); setCardAndHeaderPositions(); - notifyDataSetChanged(); }); break; case RowType.HEADER_TODAY: |