Move chat database operations to background.

Bug: 34841755
Change-Id: I3b6ff8ae125bd9d6637972db342e9e141b2c7c2f
1 file changed