Fix bugs in TvProvider

Project maps and blocked packages are updated/loaded when DB is opened.
It may cause inconsistency or NPE if we check projection maps or  blocked
packages before any actual DB operations are done.

Test: gts-tradefed run gts -m GtsTvTestCases
Bug: 37944095
Change-Id: I2444ea80d2123cebddeb05a56a91ced4b7a54290
1 file changed
tree: 5106e659c17188034fd31cd3d96a3e755cb85d44
  1. res/
  2. src/
  3. tests/
  4. Android.mk
  5. AndroidManifest.xml