mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
Bug 744644 - Mark migration as finished if there is no database. r=lucasr
This commit is contained in:
parent
427a30db60
commit
c20237d25f
@ -801,6 +801,9 @@ public class ProfileMigrator {
|
|||||||
File dbFile = new File(dbPath);
|
File dbFile = new File(dbPath);
|
||||||
if (!dbFile.exists()) {
|
if (!dbFile.exists()) {
|
||||||
Log.i(LOGTAG, "No database");
|
Log.i(LOGTAG, "No database");
|
||||||
|
// Nothing to do, so mark as done.
|
||||||
|
setMigratedBookmarks();
|
||||||
|
setMigratedHistory();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
File dbFileWal = new File(dbPathWal);
|
File dbFileWal = new File(dbPathWal);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user