don't call methods doing database lock from a synchronized block

bug:3188552
Change-Id: I08a73f06aa0cbefddd282885f62b8dcc451b9deb
1 file changed