Ensure that invalidate is called on main thread

Sometimes the chips span is constructed on a background
task and then rendered on the UI at a later time. For those
cases, the async loader callback will happen on a non-main
thread. This causes invalidate to crash since it can't be
called from non-main threads.

Change-Id: Icfdfb84ceae74032ca0b51a872fbf02fe6a72418
1 file changed
tree: 61e574135a88c81555b11ea975bec9c1f89d5736
  1. res/
  2. sample/
  3. src/
  4. tests/
  5. Android.mk
  6. AndroidManifest.xml
  7. project.properties