Encode read-only lookupKeys twice so multi vcard URI can split on :
With this change, a multi vcard share of a read-only contact and a
writeable contact with the following unencoded lookup Uris:
read-only: 2234ig:111432238085115413361
writeable: 341i2dab67978f1e8bda
will look like: content://com.android.contacts/contacts/as_multi_vcard/
2234ig%253A111432238085115413361%3A341i2dab67978f1e8bda
So the ':' in the read-only lookupKey will be encoded twice going from
':' => '%3A' => '%253A'
In CP2, the lookupKeys will be decoded when fetched as path segments to
2234ig%3A111432238085115413361:341i2dab67978f1e8bda, which will then
split properly on ':'.
Bug 22940695
Change-Id: Ie557f1573b1c3a8a5ada1bf5199c1e887c2c9f5a
1 file changed