Prevent IOOB exception

The chips code was expecting a space after an email
address when replacing it with a chip.  If there is no
extra space (which can happen when receiving an intent)
don't walk off the end of the string

Bug: 8635860
Change-Id: I1d40a08f1cbf11740172b0ea62ab11d656fb23f9
1 file changed
tree: ecc9d0769e9d71c82d2943ff078ba7c061940106
  1. carousel/
  2. chips/
  3. common/
  4. photoviewer/
  5. variablespeed/
  6. widget/
  7. CleanSpec.mk