OSDN Git Service

Clearing DB instead of deleting the DB file.
authorSunny Goyal <sunnygoyal@google.com>
Mon, 30 Nov 2015 18:59:35 +0000 (10:59 -0800)
committerSunny Goyal <sunnygoyal@google.com>
Mon, 30 Nov 2015 19:48:16 +0000 (11:48 -0800)
commit33f90e7b55abbaf110bfb2728ded8949c08b8134
tree3929f0a1732c9dff0c1c7192f2cf23b661636841
parent0c2f0700a55080318a4c21457408abb8af26740d
Clearing DB instead of deleting the DB file.

> Deleting a file/reinitializing the openHelper variable is not thread safe
and can cause the sqlite instance ot go in an invalid state

Change-Id: I54d992c7e3daee82e6dad38d6bfbfcbf8ede506c
src/com/android/launcher3/LauncherProvider.java