diff options
author | gkipnis <gkipnis@cyngn.com> | 2016-03-15 13:36:12 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-03-17 12:22:05 -0700 |
commit | 054ddd90da7c9824c121c68801a8662f6f35863a (patch) | |
tree | c5d815c16db24577bfb0c408297d0df0090522a6 | |
parent | 3c1aaac1535bf8825f7067256814e1055986e416 (diff) | |
download | android_packages_apps_Contacts-054ddd90da7c9824c121c68801a8662f6f35863a.tar.gz android_packages_apps_Contacts-054ddd90da7c9824c121c68801a8662f6f35863a.tar.bz2 android_packages_apps_Contacts-054ddd90da7c9824c121c68801a8662f6f35863a.zip |
QuickContact Expand/Collapse Button removal fixed
When QuckContact is displayed, if there are 4 or more contact
fields (email/phone#/etc...), then an Expand/Collapse button is
displayed (More/Less). When the contact is edited and only 3
fields remain, this button is supposed to be removed, but was
remaining in the view.
Change-Id: Ic8b55a4bc551a4b05eda5cead96b4bcf4fa2b624
Ticket-Id: Cyngnos-2225
-rw-r--r-- | src/com/android/contacts/quickcontact/ExpandingEntryCardView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/contacts/quickcontact/ExpandingEntryCardView.java b/src/com/android/contacts/quickcontact/ExpandingEntryCardView.java index c45ed41b8..ba4021b6c 100644 --- a/src/com/android/contacts/quickcontact/ExpandingEntryCardView.java +++ b/src/com/android/contacts/quickcontact/ExpandingEntryCardView.java @@ -416,7 +416,7 @@ public class ExpandingEntryCardView extends CardView { mEntriesViewGroup.addView(view); } - removeView(mExpandCollapseButton); + mContainer.removeView(mExpandCollapseButton); if (mCollapsedEntriesCount < mNumEntries && mExpandCollapseButton.getParent() == null && !mIsAlwaysExpanded) { mContainer.addView(mExpandCollapseButton, -1); |