am ffa59ee8: am b189cac5: am c23508e6: Fixes duplicate badges and animating text
* commit 'ffa59ee855f9a59080dc1b4d1afbb22f72a31bc7':
Fixes duplicate badges and animating text
diff --git a/src/com/android/contacts/quickcontact/ExpandingEntryCardView.java b/src/com/android/contacts/quickcontact/ExpandingEntryCardView.java
index 1313e24..f40ebe7 100644
--- a/src/com/android/contacts/quickcontact/ExpandingEntryCardView.java
+++ b/src/com/android/contacts/quickcontact/ExpandingEntryCardView.java
@@ -728,7 +728,6 @@
private void updateBadges() {
if (mIsExpanded) {
mBadgeContainer.removeAllViews();
- mBadgeIds.clear();
} else {
// Inflate badges if not yet created
if (mBadges.size() < mEntries.size() - mCollapsedEntriesCount) {
@@ -829,6 +828,8 @@
transitionSet.addTransition(boundsTransition);
transitionSet.addTransition(scrollTransition);
+ transitionSet.excludeTarget(R.id.text, /* exclude = */ true);
+
final ViewGroup transitionViewContainer = mAnimationViewGroup == null ?
this : mAnimationViewGroup;