am cf7acc5d: am a74f6963: Do database access in the background thread to prevent ANR.

Merge commit 'cf7acc5ddbed3e291ed3eed3a01d2fd8d9bcd440'

* commit 'cf7acc5ddbed3e291ed3eed3a01d2fd8d9bcd440':
  Do database access in the background thread to prevent ANR.