Bug 755267 - Make sure history is set as migrated when done. r=mfinkle
authorGian-Carlo Pascutto <gpascutto@mozilla.com>
Tue, 15 May 2012 17:25:24 +0200
changeset 94017 d9b3e6d2e0acc13de8d103bf0d78c3c8b42ced59
parent 94016 32913047a915deb35c31dd04ce2cef02aab7f4ba
child 94018 3ce1f1bf0cfe9dcf799d0aee6ca207419713798b
push id22695
push useremorley@mozilla.com
push dateWed, 16 May 2012 09:06:50 +0000
treeherdermozilla-central@bfc259be3fa2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs755267
milestone15.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 755267 - Make sure history is set as migrated when done. r=mfinkle
mobile/android/base/ProfileMigrator.java
--- a/mobile/android/base/ProfileMigrator.java
+++ b/mobile/android/base/ProfileMigrator.java
@@ -374,17 +374,17 @@ public class ProfileMigrator {
 
     protected void setBooleanPrefTrue(String prefName) {
         SharedPreferences.Editor editor = getPreferences().edit();
         editor.putBoolean(prefName, true);
         editor.commit();
     }
 
     protected void setMigratedHistory() {
-        setBooleanPrefTrue(PREFS_MIGRATE_BOOKMARKS_DONE);
+        setBooleanPrefTrue(PREFS_MIGRATE_HISTORY_DONE);
     }
 
     protected void setMigratedBookmarks() {
         setBooleanPrefTrue(PREFS_MIGRATE_BOOKMARKS_DONE);
     }
 
     protected void setMigratedSync() {
         setBooleanPrefTrue(PREFS_MIGRATE_SYNC_DONE);