Fix IllegalStateException in TvProvider

SQLiteOpenHelper will re-use the same DB instance for us.
We shouldn't close the DB gotten from SQLiteOpenHelper, which
may cause hazards to thread-safty.

Test: gts-tradefed run gts -m GtsTvTestCases
Bug: 38341610
Change-Id: Ia07e8a2aa11b8d86ce9c5cfa708cd60607bf7b34
1 file changed
tree: 1654fc58c83c7a268ce00c5808443e85702a97b9
  1. res/
  2. src/
  3. tests/
  4. Android.mk
  5. AndroidManifest.xml