Cap number of items we attempt to collapse

Cap number of items we attempt to collapse at 20. Algorithm used is n^2
and introduces noticeable delays with eg 70 phone numbers for a single contact.

Bug:8888517
Change-Id: Ifaa470a3dd91b783db23d5c694af4529cfbf1293
1 file changed