Bug 744644 - Mark migration as finished if there is no database. r=lucasr

This commit is contained in:
Gian-Carlo Pascutto 2012-04-12 19:28:50 +02:00
parent 11c5a98566
commit 93d1e8d16b

View File

@ -801,6 +801,9 @@ public class ProfileMigrator {
File dbFile = new File(dbPath);
if (!dbFile.exists()) {
Log.i(LOGTAG, "No database");
// Nothing to do, so mark as done.
setMigratedBookmarks();
setMigratedHistory();
return;
}
File dbFileWal = new File(dbPathWal);