commit | fe25ab5256c67c3f993c5dc9466da2b537081ba7 | [log] [tgz] |
---|---|---|
author | Conrad Chen <conradchen@google.com> | Wed May 17 12:02:24 2017 -0700 |
committer | Conrad Chen <conradchen@google.com> | Wed May 17 12:02:24 2017 -0700 |
tree | 1654fc58c83c7a268ce00c5808443e85702a97b9 | |
parent | 3106a2deefc84c565eef6d6df50e7c359c3e4fe4 [diff] |
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