Fixing OOM exception in ContactsProvider2 caused by names that look like this: "A B C D E F G H I"

Since we are computing all possible permutation of names, a name with 10 words would
cause us to create 7,257,600 rows in the name_lookup table.

Limiting that to just 4 words, 48 rows max.  Choosing the 4 longest words to
improve reliability of matching.

Change-Id: I83b1424cc14a291d8d8b615a356d6ec4f9e00aad
2 files changed