Don't delete kind sections when there are >1 emails in the raw contact
* Also fix jank when deleting compact editor input fields
We were animating removal of input fields when there was more
than one field in the raw contact (i.e. Editor.deleteEditor)
but not when hiding entire KindViewSections
(i.e. KindSectionView.setVisibility(GONE)). When animating
KindSectionView removals, we must mark it for deletion
since we need to re-assess the number of KindSectionViews that
are visibile (in order to show icons) before the removal
animation finishes (the visibility is set to GONE at the end
of the animation).
* Prevent nicknames from being deleted
Bug 22228718
Bug 22299522
Change-Id: I28dad184c53e89f067d54675fcb3e7ebac9d971e
2 files changed