commit | 0d0afb36ac53cc58f2674d2571c8db6cd75d8cbb | [log] [tgz] |
---|---|---|
author | calderwoodra <calderwoodra@google.com> | Fri Apr 13 14:40:03 2018 -0700 |
committer | Copybara-Service <copybara-piper@google.com> | Fri Apr 13 14:59:39 2018 -0700 |
tree | 817ab32e60f3e9ab4e84ab65e23518b8a5df722c | |
parent | cc26b460d8c4b1ff19f42c84e1d4d6e4954ac0d4 [diff] |
Animate duo disclosure dismissal. Test: tap PiperOrigin-RevId: 192825959 Change-Id: I814537b08d9afd678c1cb88e6012e60e5511b6bb
diff --git a/java/com/android/dialer/calllog/ui/NewCallLogAdapter.java b/java/com/android/dialer/calllog/ui/NewCallLogAdapter.java index 2216377..49f0876 100644 --- a/java/com/android/dialer/calllog/ui/NewCallLogAdapter.java +++ b/java/com/android/dialer/calllog/ui/NewCallLogAdapter.java
@@ -212,8 +212,8 @@ .edit() .putBoolean(SHARED_PREF_KEY_DUO_DISCLOSURE_DISMISSED, true) .apply(); + notifyItemRemoved(duoDisclosureCardPosition); setCardAndHeaderPositions(); - notifyDataSetChanged(); }); break; case RowType.HEADER_TODAY: