commit | d7e7c92fafd6c38d9fb7355c0a9a8ff269013fb1 | [log] [tgz] |
---|---|---|
author | Gary Mai <garymai@google.com> | Thu May 16 14:41:12 2019 -0700 |
committer | Gary Mai <garymai@google.com> | Thu May 16 14:45:50 2019 -0700 |
tree | 6c7ed10febec95a7534153234049913c25a31ebf | |
parent | 465ff075de1219197ba58599732321c4479b9598 [diff] |
Fix "Set default" in QuickContact QuickContactActivity's context menu shows up "Set default" item even when contact has only one phone number or email. Add back the logic that checked whether there was only one of these. It was accidentally removed in ag/6001361 Test: Verified single phone number and single email entries don't have "Set default" FIXES: 132227659 Change-Id: Ie08af672688eb1691107e9b19d73e09692dc433d