Loading
Added minimum supported version in SQLiteOpenHelper
Added a convenience mechanism to delete the whole database if it is of a version that is so old that the application does not want to support upgrading it. SQLiteOpenHelper now automatically deletes such a database and creates a fresh one with the newest version provided. A callback onBeforeDelete is added if the application wants to collect some data from the db before it is deleted. Test: Tested by upgrading contacts database using ContactsDatabaseHelper Bug: 31559016 Change-Id: I3f924d247cdca2015c4244cc987de2538a086651